Re: [PATCH] dell-laptop: Fix allocating & freeing SMI buffer page

2015-06-24 Thread Darren Hart
On Tue, Jun 23, 2015 at 10:11:19AM +0200, Pali Rohár wrote: > 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

[PATCH] dell-laptop: Fix allocating & freeing SMI buffer page

2015-06-23 Thread Pali Rohár
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 se