[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250812035106.134529-1-parav@nvidia.com>
Date: Tue, 12 Aug 2025 06:51:04 +0300
From: Parav Pandit <parav@...dia.com>
To: <davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>, <horms@...nel.org>, <netdev@...r.kernel.org>
CC: <jiri@...nulli.us>, Parav Pandit <parav@...dia.com>
Subject: [PATCH net-next 0/2] devlink port attr cleanup
Hi,
This two small patches simplifies the devlink port attributes set
functions.
Summary:
patch-1 constifies the attributes and moves the checks early
patch-2 removes the return 0 check at several places and simplfies
caller
Please review.
Parav Pandit (2):
devlink/port: Check attributes early and constify
devlink/port: Simplify return checks
include/net/devlink.h | 2 +-
net/devlink/port.c | 33 ++++++++-------------------------
2 files changed, 9 insertions(+), 26 deletions(-)
--
2.26.2
Powered by blists - more mailing lists