]> 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)
commit4c9115eba972c23f7c437baec43735db67c7d272
tree1175387bea9c3c08a3a00741793c00d0b1360960
parent0ee6689d16fa8021cf4a05ed3894eb844fa263da
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: ad8d98ccc7c5 ("octeontx2-nicvf: Add PTP hardware clock support to NIX VF")
Fixes: 8d944ab8cc20 ("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