Re: [PATCH] firmware_class: fix typo in error path

From: Greg KH
Date: Wed Aug 18 2010 - 11:43:56 EST


On Wed, Aug 18, 2010 at 05:15:18PM +0200, Johannes Berg wrote:
> From: Johannes Berg <johannes.berg@xxxxxxxxx>
>
> In the error path, _request_firmware sets
> firmware_p to NULL rather than *firmware_p,
> which leads to passing a freed firmware
> struct to drivers when the firmware file
> cannot be found. Fix this.
>
> Broken by commit f8a4bd3456b988fc73b2c.

Nice catch, thanks. I'll queue it up.

greg k-h
--
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/