Smatch reported some issues with rawnand code.
Firstly detecting allocation failures for cortina.
Secondly an always true test for denali.
Lastly using goto an error path without setting the error code for
return for mxs_nand.

Signed-off-by: Andrew Goodbody <andrew.goodb...@linaro.org>
---
Andrew Goodbody (3):
      mtd: rawnand: cortina_nand: Fix -ENOMEM detection
      mtd: rawnand: denali: Remove always true test
      mtd: rawnand: mxs_nand: Ensure err is set for error path

 drivers/mtd/nand/raw/cortina_nand.c | 11 +++++------
 drivers/mtd/nand/raw/denali.c       | 10 +++-------
 drivers/mtd/nand/raw/mxs_nand.c     |  6 ++++--
 3 files changed, 12 insertions(+), 15 deletions(-)
---
base-commit: 79f3e77133bd7248e4579827effc13f97a32a8a8
change-id: 20250801-mtd_nand_raw-8d659ffe5d3d

Best regards,
-- 
Andrew Goodbody <andrew.goodb...@linaro.org>

Reply via email to