linux-hardening.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] gve: Minor cleanups
@ 2024-05-08  8:32 Simon Horman
  2024-05-08  8:32 ` [PATCH net-next v2 1/2] gve: Avoid unnecessary use of comma operator Simon Horman
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Simon Horman @ 2024-05-08  8:32 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: Jeroen de Borst, Praveen Kaligineedi, Shailend Chand,
	Nathan Chancellor, Nick Desaulniers, Bill Wendling, Justin Stitt,
	Larysa Zaremba, Dan Carpenter, Kees Cook, netdev, llvm,
	linux-hardening

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/20240503-gve-comma-v1-0-b50f965694ef@kernel.org

---
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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-05-11  2:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-08  8:32 [PATCH net-next v2 0/2] gve: Minor cleanups Simon Horman
2024-05-08  8:32 ` [PATCH net-next v2 1/2] gve: Avoid unnecessary use of comma operator Simon Horman
2024-05-08  8:32 ` [PATCH net-next v2 2/2] gve: Use ethtool_sprintf/puts() to fill stats strings Simon Horman
2024-05-08 17:30   ` Justin Stitt
2024-05-11  2:00 ` [PATCH net-next v2 0/2] gve: Minor cleanups patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).