]> git.baikalelectronics.ru Git - kernel.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)
commit6752ae713d4139db3014c653bc99c3d2fb3c7f0e
treea84078c9e2d620974148cd8a1feef0a55184aba6
parent152620973afde19eb26458c288fc8e7f3b2954b6
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