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

From
Vincent MAILHOL <hidden>
Date
2022-11-29 01:11:07
Also in
intel-wired-lan, linux-crypto, linux-rdma, lkml
Reply to
Keller, Jacob E, 2022-11-29
Hi Jacob,

Thanks for the review!

On Tue. 29 Nov. 2022 at 09:23, Keller, Jacob E [off-list ref] wrote:
quoted
-----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.
The first patch is already pretty long. I do not expect this to be
cherry-picked because it does not fix any existing bug (and if people
really want to cherry pick, then they just have to cherry pick both).
On the contrary, splitting makes it easier to review, I think.

Unless the maintainers as me to squash, I want to keep it as-is.


Yours sincerely,
Vincent Mailhol
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