[PATCH 0/2] spi: cadence_qspi: Fix Smatch reported issues

Andrew Goodbody andrew.goodbody at linaro.org
Tue Aug 12 13:34:37 CEST 2025


Smatch reported issues with an off by 1 error in a test for a timeout
and also an error exit that did not set an error code.

Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
---
Andrew Goodbody (2):
      spi: cadence_qspi: Off by 1 in test for timeout
      spi: cadence_qspi: Do not return unset error code

 drivers/spi/cadence_qspi.c     | 2 +-
 drivers/spi/cadence_qspi_apb.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
base-commit: 7807ed921314cd7af83fd88162d0b8c6fb20a9ca
change-id: 20250812-cadence_qspi-fdc9df3de35c

Best regards,
-- 
Andrew Goodbody <andrew.goodbody at linaro.org>



More information about the U-Boot mailing list