[PATCH] spi: bcm2835: remove use of uninitialized gpio flags variable

Mark Brown broonie at kernel.org
Thu Nov 5 10:08:53 EST 2020


On Thu, Nov 05, 2020 at 10:06:15AM +0100, Martin Hundebøll wrote:
> Removing the duplicate gpio chip select level handling in
> bcm2835_spi_setup() left the lflags variable uninitialized. Avoid trhe
> use of such variable by passing default flags to
> gpiochip_request_own_desc().

Please don't send patches in reply to old threads, it buries them and
can make it unclear what is a new patch which needs review.  Send new
patches as new threads.
-------------- 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-rpi-kernel/attachments/20201105/a568442b/attachment.sig>


More information about the linux-rpi-kernel mailing list