Hello Andrew,

On 03.10.25 12:42, Andrew Goodbody wrote:
The return value from alloc_super can be an error pointer so the error
check needs to detect this as well as checking the pointer for being
NULL.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody <[email protected]>
---
  fs/ubifs/super.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to u-boot-ubi

Thanks!

bye,
Heiko
--
Nabla Software Engineering
HRB 40522 Augsburg
Phone: +49 821 45592596
E-Mail: [email protected]
Geschäftsführer : Stefano Babic

Reply via email to