Messages in this thread | | | Date | Wed, 24 Jun 2015 20:23:41 -0700 | From | Darren Hart <> | Subject | Re: [PATCH] dell-laptop: Fix allocating & freeing SMI buffer page |
| |
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 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
Queued, thanks Pali.
-- Darren Hart Intel Open Source Technology Center
| |