Re: [PATCH 1/2] rdc321x-gpio: fix null pointer dereference whileaccessing platform_data

From: Wim Van Sebroeck
Date: Mon Nov 29 2010 - 02:59:41 EST


Hi Samuel, Florian,

You also have my ACK for the watchdog driver.

Kind regards,
Wim.

> 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@xxxxxxxxxxx>
> > CC: stable@xxxxxxxxxx
> I'll take those 2 patches.
>
> Cheers,
> Samuel.
>
> --
> Intel Open Source Technology Centre
> http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/