[PATCH] spi: bcm2835: Add spi_master_get() call to prevent use after free

Mark Brown broonie at kernel.org
Thu Aug 22 09:27:18 EDT 2013

On Thu, Aug 22, 2013 at 08:48:36PM +0800, Axel Lin wrote:

> BTW, In current code it looks like we have an extra spi_master_put() call.
> I guess just nobody compile this driver as a module.

Yes, or removed it if they did - I can't see a use case for doing that
except testing in development so it's not surprising.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-rpi-kernel/attachments/20130822/8b32cffa/attachment.sig>

More information about the linux-rpi-kernel mailing list