aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorIlya Leoshkevich <[email protected]>2019-08-30 13:07:31 +0200
committerDaniel Borkmann <[email protected]>2019-09-03 21:01:52 +0200
commit416c572821841bef2cbb6346fb559901efff4ff3 (patch)
tree569b593d80ac5a6b2f8d9eeed6643c37da53ba5c /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parent3404ddf234ba4677bf224cb15ddcdea0ceab956e (diff)
selftests/bpf: improve unexpected success reporting in test_syctl
When tests fail because sysctl() unexpectedly succeeds, they print an inappropriate "Unexpected failure" message and a random errno. Zero out errno before calling sysctl() and replace the message with "Unexpected success". Fixes: 1f5fa9ab6e2e ("selftests/bpf: Test BPF_CGROUP_SYSCTL") Signed-off-by: Ilya Leoshkevich <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions