net: octeontx2: Fix two Smatch reports
Get series with b4
b4 am [email protected] change-id 20250805-octeontx2-e9831b326a5fVersions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: octeontx2: Restore default value for errdrivers/ | +2 | 0 replies | |
| 2/2 | net: octeontx2: NULL check before dereferencedrivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] net: octeontx2: Fix two Smatch reports
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 <[email protected]>
---
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,
Signature · 1 line
Andrew Goodbody <[email protected]>