RE: [PATCH net-next v5 2/4] net: devlink: remove devlink_info_driver_name_put()

From
Keller, Jacob E <jacob.e.keller@intel.com>
Date
2022-11-29 00:23:29
Also in
intel-wired-lan, linux-crypto, linux-rdma, lkml
Reply to
Vincent Mailhol, 2022-11-29
-----Original Message-----
From: Vincent Mailhol <redacted> On Behalf Of Vincent
Mailhol
Sent: Monday, November 28, 2022 4:06 PM
To: Jiri Pirko <redacted>; <redacted>; Jakub Kicinski
[off-list ref]
Cc: David S . Miller <davem@davemloft.net>; Eric Dumazet
[off-list ref]; Paolo Abeni [off-list ref]; linux-
kernel@vger.kernel.org; Boris Brezillon [off-list ref]; Arnaud Ebalard
[off-list ref]; Srujana Challa [off-list ref]; Kurt Kanzenbach
[off-list ref]; Andrew Lunn [off-list ref]; Florian Fainelli
[off-list ref]; Vladimir Oltean [off-list ref]; Michael Chan
[off-list ref]; Ioana Ciornei [off-list ref];
Dimitris Michailidis [off-list ref]; Yisen Zhuang
[off-list ref]; Salil Mehta [off-list ref];
Brandeburg, Jesse [off-list ref]; Nguyen, Anthony L
[off-list ref]; Sunil Goutham [off-list ref]; Linu
Cherian [off-list ref]; Geetha sowjanya [off-list ref];
Jerin Jacob [off-list ref]; hariprasad [off-list ref];
Subbaraya Sundeep [off-list ref]; Taras Chornyi
[off-list ref]; Saeed Mahameed [off-list ref]; Leon
Romanovsky [off-list ref]; Ido Schimmel [off-list ref]; Petr
Machata [off-list ref]; Simon Horman [off-list ref];
Shannon Nelson [off-list ref]; drivers@pensando.io; Ariel Elior
[off-list ref]; Manish Chopra [off-list ref]; Jonathan
Lemon [off-list ref]; Vadim Fedorenko [off-list ref];
Richard Cochran [off-list ref]; Vadim Pasternak
[off-list ref]; Shalom Toledo [off-list ref]; linux-
crypto@vger.kernel.org; intel-wired-lan@lists.osuosl.org; linux-
rdma@vger.kernel.org; oss-drivers@corigine.com; Jiri Pirko
[off-list ref]; Herbert Xu [off-list ref]; Hao Chen
[off-list ref]; Guangbin Huang
[off-list ref]; Minghao Chi [off-list ref];
Shijith Thotton [off-list ref]; Vincent Mailhol
[off-list ref]
Subject: [PATCH net-next v5 2/4] net: devlink: remove
devlink_info_driver_name_put()

Now that the core sets the driver name attribute, drivers are not
supposed to call devlink_info_driver_name_put() anymore. Remove it.
You could combine this patch with the previous one so that in the event of a cherry-pick its not possible to have this function while the core inserts the driver name automatically.

I think that also makes it very clear that there are no remaining in-tree drivers still calling the function.

I don't have a strong preference if we prefer it being separated.

Thanks,
Jake
Thread (17 messages) 17 messages, 5 authors, last reply 2022-11-30
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help