[PATCH 0/2] net: octeontx2: Fix two Smatch reports
Andrew Goodbody
andrew.goodbody at linaro.org
Tue Aug 5 16:53:33 CEST 2025
Smatch reported two issues with this driver, firstly an error code not
being set and secondly dereferencing a variable that could be NULL.
Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
---
Andrew Goodbody (2):
net: octeontx2: Restore default value for err
net: octeontx2: NULL check before dereference
drivers/net/octeontx2/nix.c | 2 ++
drivers/net/octeontx2/rvu_af.c | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
---
base-commit: 007610da2cca405ea7739fc120d90085be4b6ac2
change-id: 20250805-octeontx2-e9831b326a5f
Best regards,
--
Andrew Goodbody <andrew.goodbody at linaro.org>
More information about the U-Boot
mailing list