summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2015-06-23 10:11:19 +0200
committerLuis Henriques <luis.henriques@canonical.com>2015-07-15 10:00:54 +0100
commit1569045e536b54f190b50549b89f633da50d5211 (patch)
treef3fb1933bd6b98d51b5cbfd456ce0f0a2cf6ee54 /kernel
parent9ab4ea7c13678c49ddb7e245fcff42a7a6a30d5a (diff)
dell-laptop: Fix allocating & freeing SMI buffer page
commit b8830a4e71b15d0364ac8e6c55301eea73f211da upstream. This commit fix kernel crash when probing for rfkill devices in dell-laptop driver failed. Function free_page() was incorrectly used on struct page * instead of virtual address of SMI buffer. This commit also simplify allocating page for SMI buffer by using __get_free_page() function instead of sequential call of functions alloc_page() and page_address(). Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Acked-by: Michal Hocko <mhocko@suse.cz> Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions