aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorFrederic Barrat <[email protected]>2018-02-16 13:01:18 +0000
committerMichael Ellerman <[email protected]>2018-02-21 00:21:01 +0000
commit423688abd9ab654044bddd82eb5983189eb9630d (patch)
tree02a48b03af86049be78b3ef41a7737a8ed1e3493 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentpowerpc/eeh: Fix crashes in eeh_report_resume() (diff)
downloadkernel-423688abd9ab654044bddd82eb5983189eb9630d.tar.gz
kernel-423688abd9ab654044bddd82eb5983189eb9630d.zip
ocxl: Fix potential bad errno on irq allocation
Fix some issues found by a static checker: When allocating an AFU interrupt, if the driver cannot copy the output parameters to userland, the errno value was not set to EFAULT Remove a (now) useless cast. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Frederic Barrat <[email protected]> Acked-by: Andrew Donnellan <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions