Skip to content

gve: Minor cleanups

Simon Horman linux-hardening 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 Latest2 patches 1 replyApplied 2/2
  2. v12 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Collected Reviewed-by tags, thanks!
- Rebased
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2gve: Avoid unnecessary use of comma operatordrivers/net/ethernet/google/gve/gve_adminq.c+2 -20 repliesApplied
2/2gve: Use ethtool_sprintf/puts() to fill stats stringsdrivers/net/ethernet/google/gve/gve_ethtool.c+17 -251 replyApplied

Reviews trailers per patch

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

PatchShailend ChandLarysa ZarembaJustin Stitt
1/2R-b R-b
2/2R-b R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH net-next v2 0/2] gve: Minor cleanups

Hi,

This short patchset provides two minor cleanups for the gve driver.

These were found by tooling as mentioned in each patch, and otherwise by inspection.

No change in run time behaviour is intended.
Each patch is compile tested only.

---
Changes in v2:
- Collected Reviewed-by tags, thanks!
- Rebased
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Simon Horman (2):
gve: Avoid unnecessary use of comma operator
gve: Use ethtool_sprintf/puts() to fill stats strings

 drivers/net/ethernet/google/gve/gve_adminq.c  |  4 +--
 drivers/net/ethernet/google/gve/gve_ethtool.c | 42 +++++++++++----------------
 2 files changed, 19 insertions(+), 27 deletions(-)

base-commit: 09ca994072fd8ae99c763db2450222365dfe8fdf