[PATCH 0/2] fs: exfat: Fix some Smatch issues

Andrew Goodbody andrew.goodbody at linaro.org
Tue Jul 8 13:16:40 CEST 2025


Smatch reported issues with variables being dereferenced before NULL
checks and also testing an unsigned variable for being negative.

Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
---
Andrew Goodbody (2):
      fs: exfat: Perform NULL check before dereference
      fs: exfat: Remove pointless variable uoffset

 fs/exfat/io.c | 54 +++++++++++++++++++++++++++---------------------------
 1 file changed, 27 insertions(+), 27 deletions(-)
---
base-commit: d1d53c252a4a746db5ebcdf0d6de3aa0feec504e
change-id: 20250707-exfat_fix-38bbcd416f9e

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



More information about the U-Boot mailing list