aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-atmel.c
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2015-06-23 08:11:19 +0000
committerDarren Hart <[email protected]>2015-06-25 03:22:02 +0000
commitb8830a4e71b15d0364ac8e6c55301eea73f211da (patch)
tree606cb40e27418e25a19e99c01bbee1361e213fb3 /drivers/pwm/pwm-atmel.c
parentdell-laptop: Show info about WiGig and UWB in debugfs (diff)
downloadkernel-b8830a4e71b15d0364ac8e6c55301eea73f211da.tar.gz
kernel-b8830a4e71b15d0364ac8e6c55301eea73f211da.zip
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 <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: [email protected] Signed-off-by: Darren Hart <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-atmel.c')
0 files changed, 0 insertions, 0 deletions