Messages in this thread | | | Date | Fri, 26 Nov 2010 13:15:47 +0100 | From | Samuel Ortiz <> | Subject | Re: [PATCH 1/2] rdc321x-gpio: fix null pointer dereference while accessing platform_data |
| |
Hi Florian,
On Fri, Nov 26, 2010 at 10:39:54AM +0100, Florian Fainelli wrote: > rdc321x-gpio currently fetches its driver specific data by using the platform_ > device->platform_data pointer, this is wrong because the mfd device which > registers our platform_device has been added using mfd_add_device() which sets > the platform_device->driver_data pointer instead. > > Signed-off-by: Florian Fainelli <florian@openwrt.org> > CC: stable@kernel.org I'll take those 2 patches.
Cheers, Samuel.
-- Intel Open Source Technology Centre http://oss.intel.com/
| |