aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorAmer Al Shanawany <[email protected]>2024-05-04 17:09:16 +0000
committerShuah Khan <[email protected]>2024-05-08 22:48:25 +0000
commitb0df30628459a0fb349e3de09cf0fd6548241044 (patch)
tree7c05c5e2bcb2fcd0c20c4200b61bb3ad4075a115 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentselftests: filesystems: add missing stddef header (diff)
downloadkernel-b0df30628459a0fb349e3de09cf0fd6548241044.tar.gz
kernel-b0df30628459a0fb349e3de09cf0fd6548241044.zip
selftests/capabilities: fix warn_unused_result build warnings
Fix the following warnings by adding return check and error handling. test_execve.c: In function ‘do_tests’: test_execve.c:100:17: warning: ignoring return value of ‘capng_get_caps_process’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 100 | capng_get_caps_process(); | ^~~~~~~~~~~~~~~~~~~~~~~~ validate_cap.c: In function ‘main’: validate_cap.c:47:9: warning: ignoring return value of ‘capng_get_caps_process’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 47 | capng_get_caps_process(); | ^~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Amer Al Shanawany <[email protected]> Reviewed-by: Muhammad Usama Anjum <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions