mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-17 19:14:47 +00:00
staging: vchiq_2835_arm: Fix NULL ptr dereference in free_pagelist
commit974d4d03fcupstream. 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:71bad7f086("staging: add bcm2708 vchiq driver") Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ddd9d1ac6a
commit
9a6c9a3c6e
1 changed files with 4 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue