# 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 
- List: netdev
- Page: https://ratatoskr.run/netdev/2022/11/2023392
- Thread: https://ratatoskr.run/netdev/2022/11/2023381/t.md

```text


> -----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
> [ref]
> Cc: David S . Miller <davem@davemloft.net>; Eric Dumazet
> [ref]; Paolo Abeni [ref]; linux-
> kernel@vger.kernel.org; Boris Brezillon [ref]; Arnaud Ebalard
> [ref]; Srujana Challa [ref]; Kurt Kanzenbach
> [ref]; Andrew Lunn [ref]; Florian Fainelli
> [ref]; Vladimir Oltean [ref]; Michael Chan
> [ref]; Ioana Ciornei [ref];
> Dimitris Michailidis [ref]; Yisen Zhuang
> [ref]; Salil Mehta [ref];
> Brandeburg, Jesse [ref]; Nguyen, Anthony L
> [ref]; Sunil Goutham [ref]; Linu
> Cherian [ref]; Geetha sowjanya [ref];
> Jerin Jacob [ref]; hariprasad [ref];
> Subbaraya Sundeep [ref]; Taras Chornyi
> [ref]; Saeed Mahameed [ref]; Leon
> Romanovsky [ref]; Ido Schimmel [ref]; Petr
> Machata [ref]; Simon Horman [ref];
> Shannon Nelson [ref]; drivers@pensando.io; Ariel Elior
> [ref]; Manish Chopra [ref]; Jonathan
> Lemon [ref]; Vadim Fedorenko [ref];
> Richard Cochran [ref]; Vadim Pasternak
> [ref]; Shalom Toledo [ref]; linux-
> crypto@vger.kernel.org; intel-wired-lan@lists.osuosl.org; linux-
> rdma@vger.kernel.org; oss-drivers@corigine.com; Jiri Pirko
> [ref]; Herbert Xu [ref]; Hao Chen
> [ref]; Guangbin Huang
> [ref]; Minghao Chi [ref];
> Shijith Thotton [ref]; Vincent Mailhol
> [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

```
