From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [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)'
Date: Tue, 18 May 2021 04:29:59 +0800 [thread overview]
Message-ID: <202105180447.GV5s56wn-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2021-05-17 20:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202105180447.GV5s56wn-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.