]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-nicvf: fix ioctl callback
authorArnd Bergmann <arnd@arndb.de>
Fri, 5 Nov 2021 09:29:40 +0000 (10:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Nov 2021 14:23:21 +0000 (14:23 +0000)
commitb2f6862f8ffd52c598dfc58abf8e0ead842d3f71
tree1175387bea9c3c08a3a00741793c00d0b1360960
parent8b2b59707de5ebc8cebfee47f041df7835d4449f
octeontx2-nicvf: fix ioctl callback

The mii ioctls are now handled by the ndo_eth_ioctl() callback,
not the old ndo_do_ioctl(), but octeontx2-nicvf introduced the
function for the old way.

Move it over to ndo_eth_ioctl() to actually allow calling it from
user space.

Fixes: b43d73887cd8 ("octeontx2-nicvf: Add PTP hardware clock support to NIX VF")
Fixes: 4eb077dbce52 ("dev_ioctl: split out ndo_eth_ioctl")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c