tree:
https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git to-build
head: 5fd3eccb73a30251d944935959498ca308848a54
commit: 94128c7eff45bbd72b15dd67ff164f8e6b874a0c [25/41] qeth: use ndo_siocdevprivate
config: s390-allyesconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/commi...
git remote add arnd-playground
https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git
git fetch --no-tags arnd-playground to-build
git checkout 94128c7eff45bbd72b15dd67ff164f8e6b874a0c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/s390/net/qeth_l3_main.c:2072:14: error: initialization of
'int (*)(struct net_device *, struct ifreq *, int)' from incompatible pointer type
'int (*)(struct net_device *, struct ifreq *, void *, int)'
[-Werror=incompatible-pointer-types]
2072 | .do_ioctl = qeth_l3_do_ioctl,
| ^~~~~~~~~~~~~~~~
drivers/s390/net/qeth_l3_main.c:2072:14: note: (near initialization for
'qeth_l3_discipline.do_ioctl')
cc1: some warnings being treated as errors
vim +2072 drivers/s390/net/qeth_l3_main.c
c044dc2132d19d Eugene Crosser 2014-01-29 2065
50144f675363c3 Julian Wiedmann 2020-10-01 2066 const struct qeth_discipline
qeth_l3_discipline = {
79a04e40f7f0e9 Ursula Braun 2017-06-06 2067 .devtype = &qeth_l3_devtype,
c041f2d487654e Sebastian Ott 2012-05-15 2068 .setup = qeth_l3_probe_device,
4a71df50047f0d Frank Blaschka 2008-02-15 2069 .remove = qeth_l3_remove_device,
4a71df50047f0d Frank Blaschka 2008-02-15 2070 .set_online = qeth_l3_set_online,
4a71df50047f0d Frank Blaschka 2008-02-15 2071 .set_offline = qeth_l3_set_offline,
942d6984aa0cb3 Julian Wiedmann 2017-04-11 @2072 .do_ioctl = qeth_l3_do_ioctl,
c044dc2132d19d Eugene Crosser 2014-01-29 2073 .control_event_handler =
qeth_l3_control_event,
4a71df50047f0d Frank Blaschka 2008-02-15 2074 };
c041f2d487654e Sebastian Ott 2012-05-15 2075 EXPORT_SYMBOL_GPL(qeth_l3_discipline);
4a71df50047f0d Frank Blaschka 2008-02-15 2076
:::::: The code at line 2072 was first introduced by commit
:::::: 942d6984aa0cb3974b99d302b566eaf0b8eccf54 s390/qeth: move common ioctl handling to
core
:::::: TO: Julian Wiedmann <jwi(a)linux.vnet.ibm.com>
:::::: CC: David S. Miller <davem(a)davemloft.net>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org