Re: [PATCH v2] spi: bcm2835: fix device_node reference leak in bcm2835_spi_setup()
From: Mark Brown
Date: Fri Sep 25 2026 - 15:43:03 EST
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.
Attachment:
signature.asc
Description: PGP signature