diff options
author | Arvind Yadav <[email protected]> | 2017-01-19 13:30:44 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-01-19 14:20:23 +0100 |
commit | 2cc32b18d1243d65dc312478be08dd5856b44523 (patch) | |
tree | eecf3cef1b71453cd6d04309839bfdccf50cfcbe /scripts/gdb/linux/tasks.py | |
parent | 28ec9570a22fcf42d5154f6a48dc5b2afdd8d9a3 (diff) |
tty: serial: 8250: 8250_gsc:- Handle return NULL error from ioremap_nocache
Here, If ioremap_nocache will fail. It will return NULL.
Kernel can run into a NULL-pointer dereference.
This error check will avoid NULL pointer dereference.
Signed-off-by: Arvind Yadav <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions