Skip to content

net: Address some issues reported by Smatch

Andrew Goodbody u-boot 1 version In review

Get series with b4
b4 am [email protected] change-id 20250708-net_fix-784f5ac63756

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: Add parens to macro PSEUDO_HDR_SIZEinclude/net/tcp.h+1 -11 reply
2/3net: Incorrect NOP macro used for testnet/tcp.c+1 -11 reply
3/3net: wget: Fix comparison of unsigned variablenet/wget.c+1 -11 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJerome Forissier
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] net: Address some issues reported by Smatch

Smatch reported some issues including a macro that was missing outer parens, a comparison of an 8bit type against a 32bit define and a comparison that was always true due to being an unsigned type.

---
Andrew Goodbody (3):
net: Add parens to macro PSEUDO_HDR_SIZE
net: Incorrect NOP macro used for test
net: wget: Fix comparison of unsigned variable

 include/net/tcp.h | 2 +-
 net/tcp.c         | 2 +-
 net/wget.c        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

---
base-commit: d1d53c252a4a746db5ebcdf0d6de3aa0feec504e
change-id: 20250708-net_fix-784f5ac63756

Best regards,

Signature · 1 line
Andrew Goodbody <[email protected]>