[PATCH v2] spi: bcm2835: fix device_node reference leak in bcm2835_spi_setup()
Mark Brown
broonie at kernel.org
Fri Sep 25 12:42:33 PDT 2026
On Fri, Sep 25, 2026 at 04:30:08PM -0300, Lucas Costa wrote:
> of_find_compatible_node() returns a device_node with its reference count
> incremented, but bcm2835_spi_setup() only uses the return value to test
> for a matching node in the loop and never releases it.
Please don't send new patches in reply to old patches or serieses, this
makes it harder for both people and tools to understand what is going
on - it can bury things in mailboxes and make it difficult to keep track
of what current patches are, both for the new patches and the old ones.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20260925/c549e008/attachment.sig>
More information about the linux-arm-kernel
mailing list