Thread (19 messages) 19 messages, 4 authors, 2024-08-29

Re: [PATCH net-next 6/6] net: ethernet: fs_enet: phylink conversion

From: "Russell King (Oracle)" <linux@armlinux.org.uk>
Date: 2024-08-28 10:48:07
Also in: linuxppc-dev, lkml

On Wed, Aug 28, 2024 at 11:51:02AM +0200, Maxime Chevallier wrote:
+static int fs_eth_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
+{
+	struct fs_enet_private *fep = netdev_priv(dev);
+
+	if (!netif_running(dev))
+		return -EINVAL;
Why do you need this check?

-- 
*** please note that I probably will only be occasionally responsive
*** for an unknown period of time due to recent eye surgery making
*** reading quite difficult.

RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help