diff options
author | Patrice Chotard <patrice.chotard@foss.st.com> | 2022-08-26 11:20:31 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-08-28 21:20:11 +0200 |
commit | 56ec456293239b3c5dfb0e4dcf22972b1b8c571d (patch) | |
tree | 65c92e524e7206b34d15f83e7ad2053e0d746531 /drivers/pci/msi/Makefile | |
parent | spi: amd: Configure device speed (diff) | |
download | linux-56ec456293239b3c5dfb0e4dcf22972b1b8c571d.tar.xz linux-56ec456293239b3c5dfb0e4dcf22972b1b8c571d.zip |
spi: stm32-qspi: Fix stm32_qspi_transfer_one_message() error path
The patch a557fca630cc: "spi: stm32_qspi: Add transfer_one_message()
spi callback" from Aug 23, 2022, leads to the following Smatch static
checker warning:
drivers/spi/spi-stm32-qspi.c:627 stm32_qspi_transfer_one_message()
error: uninitialized symbol 'ret'.Fix the following Smatch static checker warning:
Fixes: a557fca630cc ("spi: stm32_qspi: Add transfer_one_message() spi callback")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://lore.kernel.org/r/20220826092031.1393430-1-patrice.chotard@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/pci/msi/Makefile')
0 files changed, 0 insertions, 0 deletions