aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorTom Seewald <[email protected]>2021-05-03 13:56:56 +0200
committerGreg Kroah-Hartman <[email protected]>2021-05-13 17:33:36 +0200
commitb11701c933112d49b808dee01cb7ff854ba6a77a (patch)
treed91ea71ea837c5328e0927245b93c0fe9d7d0d9d /scripts/gdb/linux/lists.py
parent566f53238da74801b48e985788e5f7c9159e5940 (diff)
char: hpet: add checks after calling ioremap
The function hpet_resources() calls ioremap() two times, but in both cases it does not check if ioremap() returned a null pointer. Fix this by adding null pointer checks and returning an appropriate error. Signed-off-by: Tom Seewald <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions