diff options
author | jie@chenjie6@huwei.com <jie@chenjie6@huwei.com> | 2018-08-11 02:23:06 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-08-11 05:19:58 +0200 |
commit | 24eee1e4c47977bdfb71d6f15f6011e7b6188d04 (patch) | |
tree | bb2ab1880fdbaf2f3351470eabe98bf2b7acaf64 /fs/binfmt_script.c | |
parent | lib/ubsan: remove null-pointer checks (diff) | |
download | linux-24eee1e4c47977bdfb71d6f15f6011e7b6188d04.tar.xz linux-24eee1e4c47977bdfb71d6f15f6011e7b6188d04.zip |
mm/memory.c: check return value of ioremap_prot
ioremap_prot() can return NULL which could lead to an oops.
Link: http://lkml.kernel.org/r/1533195441-58594-1-git-send-email-chenjie6@huawei.com
Signed-off-by: chen jie <chenjie6@huawei.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Li Zefan <lizefan@huawei.com>
Cc: chenjie <chenjie6@huawei.com>
Cc: Yang Shi <shy828301@gmail.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/binfmt_script.c')
0 files changed, 0 insertions, 0 deletions