summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2017-09-03 20:06:31 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-12 12:56:12 +0300
commit9a6c9a3c6e218e9860eb7a972c2e73f45ce8d482 (patch)
tree11241ceb2ea8fadd46baad6768f012967d933230 /mm
parentddd9d1ac6a723dacabcff3afa5156a3bbc843aa9 (diff)
downloadlinux-9a6c9a3c6e218e9860eb7a972c2e73f45ce8d482.tar.xz
staging: vchiq_2835_arm: Fix NULL ptr dereference in free_pagelist
commit 974d4d03fc020af4fa4e9e72a86f0fefa37803c5 upstream. This fixes a NULL pointer dereference on RPi 2 with multi_v7_defconfig. The function page_address() could return NULL with enabled CONFIG_HIGHMEM. So fix this by using kmap() instead. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Fixes: 71bad7f08641 ("staging: add bcm2708 vchiq driver") Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions