Skip to content

net: ethernet: ti: Address some warnings

Simon Horman linux-omap llvm netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesApplied 3/3
  2. v13 patches 12 repliesSuperseded

Changes in v2 from the cover letter

- Dropped patch to directly address __percpu Sparse warnings and, instead
- Add patch to use tstats
- Added tags
- Thanks to all for the review of v1
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: ethernet: ti: am65-cpsw: Use __be64 type for id_tempdrivers/net/ethernet/ti/am65-cpsw-nuss.c+1 -10 repliesApplied
2/3net: ethernet: ti: am65-cpsw: Use tstats instead of open coded versiondrivers/net/ethernet/ti/am65-cpsw-nuss.c drivers/net/ethernet/ti/am65-cpsw-nuss.h+8 -931 replyApplied
3/3net: ethernet: ti: cpsw_ale: Remove unused accessor functionsdrivers/net/ethernet/ti/cpsw_ale.c+21 -91 replyApplied

Reviews trailers per patch

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

PatchKalesh APRoger Quadros
1/3R-b R-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 v2 thread

Cover letter [PATCH net-next v2 0/3] net: ethernet: ti: Address some warnings

Hi,

This patchset addresses some warnings flagged by Sparse, and clang-18 in TI Ethernet drivers.

Although these changes do not alter the functionality of the code, by addressing them real problems introduced in future which are flagged by tooling will stand out more readily.

Compile tested only.

---
Changes in v2:
- Dropped patch to directly address __percpu Sparse warnings and, instead
- Add patch to use tstats
- Added tags
- Thanks to all for the review of v1
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Simon Horman (3):
net: ethernet: ti: am65-cpsw: Use __be64 type for id_temp
net: ethernet: ti: am65-cpsw: Use tstats instead of open coded version
net: ethernet: ti: cpsw_ale: Remove unused accessor functions

 drivers/net/ethernet/ti/am65-cpsw-nuss.c | 94 +++-----------------------------
 drivers/net/ethernet/ti/am65-cpsw-nuss.h |  9 ---
 drivers/net/ethernet/ti/cpsw_ale.c       | 30 +++++++---
 3 files changed, 30 insertions(+), 103 deletions(-)

base-commit: 09cf85ef183a5603db49d542264ddbece3258e55