* [arnd-playground:to-build 25/41] 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)'
@ 2021-05-17 20:29 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-17 20:29 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3007 bytes --]
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/commit/?id=94128c7eff45bbd72b15dd67ff164f8e6b874a0c
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@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@linux.vnet.ibm.com>
:::::: CC: David S. Miller <davem@davemloft.net>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 66558 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-17 20:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-17 20:29 [arnd-playground:to-build 25/41] 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)' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.