RE: [EXTERNAL] Re: [patch rdma-next v3 1/2] net: mana: Change the function signature of mana_get_primary_netdev_rcu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Tue,  4 Mar 2025 16:00:01 -0800 longli@xxxxxxxxxxxxxxxxx wrote:
> > +	dev_hold(ndev);
> 
> netdev_hold(), please

Will change to netdev_hold().

Is it mandatory to use a tracker, or is it okay to use NULL like the following code:
https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.c?h=v6.14-rc5#n837

Thanks,
Long





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux