Thread (13 messages) 13 messages, 6 authors, 2022-09-05

Re: [PATCH net-next] net: dsa: hellcreek: Print warning only once

From: Kurt Kanzenbach <kurt@linutronix.de>
Date: 2022-09-05 12:35:34

quoted
  static void dwmac1000_core_init(struct mac_device_info *hw,
  				struct net_device *dev)
You should be able to remove the net_device reference here since we do 
not use it anymore after the removal of netdev_uses_dsa() or 
de-referencing of priv.
That's true for dwmac1000_core_init(). However, dwmac4_core_init() is
using priv now for some timestamping waitqueue initialization.

Thanks,
Kurt

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help