diff options
author | Kees Cook <keescook@chromium.org> | 2024-04-26 01:06:22 +0200 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2024-04-27 00:31:39 +0200 |
commit | 998b18072ceb0613629c256b409f4d299829c7ec (patch) | |
tree | 0e89a066132d5259a35c9bf929f2845fc4beef73 /init/do_mounts.c | |
parent | scsi: qla2xxx: Avoid possible run-time warning with long model_num (diff) | |
download | linux-998b18072ceb0613629c256b409f4d299829c7ec.tar.xz linux-998b18072ceb0613629c256b409f4d299829c7ec.zip |
kunit/fortify: Fix mismatched kvalloc()/vfree() usage
The kv*() family of tests were accidentally freeing with vfree() instead
of kvfree(). Use kvfree() instead.
Fixes: 9124a2640148 ("kunit/fortify: Validate __alloc_size attribute results")
Link: https://lore.kernel.org/r/20240425230619.work.299-kees@kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'init/do_mounts.c')
0 files changed, 0 insertions, 0 deletions