diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2015-06-23 10:11:19 +0200 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2015-06-24 20:22:02 -0700 |
commit | b8830a4e71b15d0364ac8e6c55301eea73f211da (patch) | |
tree | 606cb40e27418e25a19e99c01bbee1361e213fb3 /fs/binfmt_script.c | |
parent | 2e19f93fecc502e68131e4433ef8d57ffa22bc3b (diff) |
dell-laptop: Fix allocating & freeing SMI buffer page
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>
Cc: stable@vger.kernel.org
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'fs/binfmt_script.c')
0 files changed, 0 insertions, 0 deletions