summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorKangjie Lu <kjlu@umn.edu>2019-04-01 17:46:58 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-22 08:18:21 +0200
commit5c7fbc5f6a7d526054e0b11df8053e0841fb8a29 (patch)
treef8485a451704a582fda1aeb82dbf7af10e540f99 /include/linux/timerqueue.h
parentbea8fa863ce9f7cdea7d44b3b2dbbd1b8670a788 (diff)
video: hgafb: fix potential NULL pointer dereference
[ Upstream commit ec7f6aad57ad29e4e66cc2e18e1e1599ddb02542 ] When ioremap fails, hga_vram should not be dereferenced. The fix check the failure to avoid NULL pointer dereference. Signed-off-by: Kangjie Lu <kjlu@umn.edu> Cc: Aditya Pakki <pakki001@umn.edu> Cc: Ferenc Bakonyi <fero@drama.obuda.kando.hu> [b.zolnierkie: minor patch summary fixup] Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions