From: Parav Pandit <parav@mellanox.com>
To: netdev@vger.kernel.org, davem@davemloft.net
Cc: jiri@mellanox.com, Parav Pandit <parav@mellanox.com>
Subject: [PATCH net-next 0/2] Minor cleanup in devlink
Date: Fri, 30 Aug 2019 05:39:43 -0500 [thread overview]
Message-ID: <20190830103945.18097-1-parav@mellanox.com> (raw)
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
next reply other threads:[~2019-08-30 10:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-30 10:39 Parav Pandit [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190830103945.18097-1-parav@mellanox.com \
--to=parav@mellanox.com \
--cc=davem@davemloft.net \
--cc=jiri@mellanox.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox