netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next 0/2] net/ncsi: Use str_up_down to simplify the code
@ 2024-08-23  6:52 Hongbo Li
  2024-08-23  6:52 ` [PATCH -next 1/2] " Hongbo Li
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Hongbo Li @ 2024-08-23  6:52 UTC (permalink / raw)
  To: sam, davem, edumazet, kuba, pabeni; +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.

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] 5+ messages in thread

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-23  6:52 [PATCH -next 0/2] net/ncsi: Use str_up_down to simplify the code Hongbo Li
2024-08-23  6:52 ` [PATCH -next 1/2] " Hongbo Li
2024-08-23  6:52 ` [PATCH -next 2/2] " Hongbo Li
2024-08-23 16:21 ` [PATCH -next 0/2] " Simon Horman
2024-08-27  2: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).