[PATCH 0/2] mmc: gen_atmel_mci: Fix some Smatch issues

Andrew Goodbody andrew.goodbody at linaro.org
Tue Jul 29 18:16:15 CEST 2025


Smatch reported issues with duplicated checks that could be removed.
Smatch also reported an issue where a variable was dereferenced without
a NULL check despite being an optional parameter.

Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
---
Andrew Goodbody (2):
      mmc: gen_atmel_mci: Remove duplicate checks
      mmc: gen_atmel_mci: NULL check variable before use

 drivers/mmc/gen_atmel_mci.c | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)
---
base-commit: 182cb30084516c3085d2ca5dde3f105f7625d774
change-id: 20250729-gen_atmel_mci-b53a6662ac6c

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



More information about the U-Boot mailing list