diff options
| author | Dan Carpenter <[email protected]> | 2025-05-28 08:13:45 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-06-01 05:46:14 +0000 |
| commit | 83da212b7fca407f6f30c7d6f02a8f910db8724d (patch) | |
| tree | 1c3a978a5f129044cf530e535b7eb6bffef65a2a /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | tools/testing/vma: add missing function stub (diff) | |
| download | kernel-83da212b7fca407f6f30c7d6f02a8f910db8724d.tar.gz kernel-83da212b7fca407f6f30c7d6f02a8f910db8724d.zip | |
tools/testing: check correct variable in open_procmap()
Check if "procmap_out->fd" is negative instead of "procmap_out" (which is
a pointer).
Link: https://lkml.kernel.org/r/[email protected]
Fixes: bd23f293a0d5 ("tools/testing: add PROCMAP_QUERY helper functions in mm self tests")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Lorenzo Stoakes <[email protected]>
Cc: levi.yun <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Wei Yang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions
