[PATCH 0/3] fs: ext4fs: Fix some issues found by Smatch
Tom Rini
trini at konsulko.com
Fri Jul 11 22:00:46 CEST 2025
On Fri, 04 Jul 2025 13:32:41 +0100, Andrew Goodbody wrote:
> Smatch reported some issues in the ext4fs code. This includes a
> suggestion to use an unwind goto, to not negate a return value and to
> ensure that a NULL check happens before the pointer is dereferenced.
>
>
Applied to u-boot/master, thanks!
[1/3] fs: ext4fs: Do not negate error before returning it
commit: a7e44898b4d2484a9fd3226f44bc9b51d174f1e3
[2/3] fs: ext4fs: Use unwind goto to free memory on error
commit: 36f05e622446046a93ff3a2c6958b65b85c6bffd
[3/3] fs: ext4fs: Perform NULL check before dereference
commit: 2d6221262ee948b9ae407b51a9bae693348826f5
--
Tom
More information about the U-Boot
mailing list