aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorVladimir Zapolskiy <[email protected]>2016-03-09 01:21:29 +0000
committerThomas Gleixner <[email protected]>2016-03-10 15:03:30 +0000
commitcfe199afefe6201e998ddc07102fc1fdb55f196c (patch)
tree1883ee9985ae5e26ad45a4d8034639abba7f0307 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentgenirq: Export IRQ functions for module use (diff)
downloadkernel-cfe199afefe6201e998ddc07102fc1fdb55f196c.tar.gz
kernel-cfe199afefe6201e998ddc07102fc1fdb55f196c.zip
irqchip/sunxi-nmi: Fix error check of of_io_request_and_map()
The of_io_request_and_map() returns a valid pointer in iomem region or ERR_PTR(), check for NULL always fails and may cause a NULL pointer dereference on error path. Fixes: 0e841b04c829 ("irqchip/sunxi-nmi: Switch to of_io_request_and_map() from of_iomap()") Signed-off-by: Vladimir Zapolskiy <[email protected]> Cc: Jason Cooper <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Chen-Yu Tsai <[email protected]> Cc: Maxime Ripard <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions