diff options
| author | Dan Carpenter <[email protected]> | 2025-08-19 09:41:15 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2025-08-19 11:51:28 +0000 |
| commit | 589c12edcd8a7b3b24f407b58443bab3560125e4 (patch) | |
| tree | d676edf111a3680e082e568a46785550b18574b7 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | fs/buffer: fix use-after-free when call bh_read() helper (diff) | |
| download | kernel-589c12edcd8a7b3b24f407b58443bab3560125e4.tar.gz kernel-589c12edcd8a7b3b24f407b58443bab3560125e4.zip | |
coredump: Fix return value in coredump_parse()
The coredump_parse() function is bool type. It should return true on
success and false on failure. The cn_printf() returns zero on success
or negative error codes. This mismatch means that when "return err;"
here, it is treated as success instead of failure. Change it to return
false instead.
Fixes: a5715af549b2 ("coredump: make coredump_parse() return bool")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions
