]> www.infradead.org Git - users/hch/configfs.git/commit
spi: rb4xx: null pointer bug fix
authorChristopher Hill <ch6574@gmail.com>
Thu, 21 May 2020 18:36:29 +0000 (14:36 -0400)
committerMark Brown <broonie@kernel.org>
Fri, 22 May 2020 13:13:16 +0000 (14:13 +0100)
commit678e5e1e42d74f77a6e2e9feb6f95ed72a996251
treea84078c9e2d620974148cd8a1feef0a55184aba6
parent05897c710e8e095abf80937e23068deb600f7b0c
spi: rb4xx: null pointer bug fix

This patch fixes a null pointer bug in the spi driver spi-rb4xx.c by
moving the private data initialization to earlier in probe

Signed-off-by: Christopher Hill <ch6574@gmail.com>
Link: https://lore.kernel.org/r/20200521183631.37806-1-ch6574@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rb4xx.c