Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

r6040: Fix args to phy_mii_ioctl().

Reported by Stephen Rothwell.

Signed-off-by: David S. Miller <davem@davemloft.net>

+1 -1
+1 -1
drivers/net/r6040.c
··· 510 510 if (!lp->phydev) 511 511 return -EINVAL; 512 512 513 - return phy_mii_ioctl(lp->phydev, if_mii(rq), cmd); 513 + return phy_mii_ioctl(lp->phydev, rq, cmd); 514 514 } 515 515 516 516 static int r6040_rx(struct net_device *dev, int limit)