Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] Minor cleanup in devlink
@ 2019-08-30 10:39 Parav Pandit
  2019-08-30 10:39 ` [PATCH net-next 1/2] devlink: Make port index data type as unsigned int Parav Pandit
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Parav Pandit @ 2019-08-30 10:39 UTC (permalink / raw)
  To: netdev, davem; +Cc: jiri, Parav Pandit

Two minor cleanup in devlink.

Patch-1 Explicitly defines devlink port index as unsigned int
Patch-2 Uses switch-case to handle different port flavours attributes


Parav Pandit (2):
  devlink: Make port index data type as unsigned int
  devlink: Use switch-case instead of if-else

 include/net/devlink.h |  2 +-
 net/core/devlink.c    | 44 ++++++++++++++++++++++++-------------------
 2 files changed, 26 insertions(+), 20 deletions(-)

-- 
2.19.2


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

end of thread, other threads:[~2019-09-01  6:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-30 10:39 [PATCH net-next 0/2] Minor cleanup in devlink Parav Pandit
2019-08-30 10:39 ` [PATCH net-next 1/2] devlink: Make port index data type as unsigned int Parav Pandit
2019-08-30 10:39 ` [PATCH net-next 2/2] devlink: Use switch-case instead of if-else Parav Pandit
2019-08-31  6:14 ` [PATCH net-next 0/2] Minor cleanup in devlink Jakub Kicinski
2019-09-01  6:46   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox