On 29/07/2019 11.41, kernel test robot wrote:
FYI, we noticed the following commit (built with gcc-7):
commit: 60649d4e0af6c26b6c423dea9c57f39e823fc0c5 ("can: remove obsolete empty
the kernel test robot is right.
The patch ("can: remove obsolete empty ioctl() handler") leads to a
return value of -EOPNOTSUPP instead of the former -ENOIOCTLCMD.
As we can see in socket.c ...
* If this ioctl is unknown try to hand it down
* to the NIC driver.
if (err != -ENOIOCTLCMD)
... we need to return -ENOIOCTLCMD to pass the SIOCGIFINDEX ioctl to the
Therefore the entire commit needs to be *reverted* to restore the
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen(a)intel.com>