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

From: Samuel Ortiz
Date: Fri Nov 26 2010 - 07:16:04 EST


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/