netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] net/ncsi: Use str_up_down to simplify the code
@ 2024-08-27  2:52 Hongbo Li
  2024-08-27  2:52 ` [PATCH net-next v2 1/2] " Hongbo Li
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Hongbo Li @ 2024-08-27  2:52 UTC (permalink / raw)
  To: sam, davem, edumazet, kuba, pabeni, horms; +Cc: lihongbo22, netdev

In commit a98ae7f045b2, str_up_down() helper is introduced to
return "up" or "down" string literal, so we can use it to
simplify the code and fix the coccinelle warning.

v2:
 - change subject into net-next

v1: https://lore.kernel.org/netdev/20240823162144.GW2164@kernel.org/T/

Hongbo Li (2):
  net/ncsi: Use str_up_down to simplify the code
  net/ncsi: Use str_up_down to simplify the code

 net/ncsi/ncsi-aen.c    | 2 +-
 net/ncsi/ncsi-manage.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-08-27 18:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-27  2:52 [PATCH net-next v2 0/2] net/ncsi: Use str_up_down to simplify the code Hongbo Li
2024-08-27  2:52 ` [PATCH net-next v2 1/2] " Hongbo Li
2024-08-27  7:04   ` Michal Swiatkowski
2024-08-27 16:23   ` kernel test robot
2024-08-27 17:34   ` kernel test robot
2024-08-27  2:52 ` [PATCH net-next v2 2/2] " Hongbo Li
2024-08-27 18:26   ` kernel test robot
2024-08-27  8:52 ` [PATCH net-next v2 0/2] " Simon Horman
2024-08-27  9:11   ` Hongbo Li

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