[PATCH 0/3] net: octeontx: Fix some Smatch reported issues
Andrew Goodbody
andrew.goodbody at linaro.org
Tue Aug 5 17:45:46 CEST 2025
Smatch reported two cases of redundant code which can be removed from
this driver. Also a case of leaking memory on error exit.
Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
---
Andrew Goodbody (3):
net: octeontx: Remove unneeded code
net: octeontx: Remove unneeded test
net: octeontx: Free allocated memory on error
drivers/net/octeontx/nicvf_main.c | 51 ++++++++++++++++++---------------------
drivers/net/octeontx/smi.c | 12 +++++++--
2 files changed, 34 insertions(+), 29 deletions(-)
---
base-commit: 007610da2cca405ea7739fc120d90085be4b6ac2
change-id: 20250805-net_octeontx-770c68e2a77a
Best regards,
--
Andrew Goodbody <andrew.goodbody at linaro.org>
More information about the U-Boot
mailing list