From: kernel test robot <lkp@intel.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [tnguy-net-queue:dev-queue 21/44] net/netfilter/xt_socket.c:224:17: error: implicit declaration of function 'nf_defrag_ipv6_disable'; did you mean 'nf_defrag_ipv4_disable'?
Date: Sat, 12 Feb 2022 06:04:51 +0800 [thread overview]
Message-ID: <202202120545.c2k6AbiS-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue.git dev-queue
head: d35ad64359ca21540d9bf84b4bb072ca21b2f4ac
commit: 75063c9294fb239bbe64eb72141b6871fe526d29 [21/44] netfilter: xt_socket: fix a typo in socket_mt_destroy()
config: sparc-randconfig-s031-20220211 (https://download.01.org/0day-ci/archive/20220212/202202120545.c2k6AbiS-lkp at intel.com/config)
compiler: sparc-linux-gcc (GCC) 11.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue.git/commit/?id=75063c9294fb239bbe64eb72141b6871fe526d29
git remote add tnguy-net-queue https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue.git
git fetch --no-tags tnguy-net-queue dev-queue
git checkout 75063c9294fb239bbe64eb72141b6871fe526d29
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=sparc SHELL=/bin/bash net/netfilter/
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 >>):
net/netfilter/xt_socket.c: In function 'socket_mt_destroy':
>> net/netfilter/xt_socket.c:224:17: error: implicit declaration of function 'nf_defrag_ipv6_disable'; did you mean 'nf_defrag_ipv4_disable'? [-Werror=implicit-function-declaration]
224 | nf_defrag_ipv6_disable(par->net);
| ^~~~~~~~~~~~~~~~~~~~~~
| nf_defrag_ipv4_disable
cc1: some warnings being treated as errors
vim +224 net/netfilter/xt_socket.c
218
219 static void socket_mt_destroy(const struct xt_mtdtor_param *par)
220 {
221 if (par->family == NFPROTO_IPV4)
222 nf_defrag_ipv4_disable(par->net);
223 else if (par->family == NFPROTO_IPV6)
> 224 nf_defrag_ipv6_disable(par->net);
225 }
226
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all at lists.01.org
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [tnguy-net-queue:dev-queue 21/44] net/netfilter/xt_socket.c:224:17: error: implicit declaration of function 'nf_defrag_ipv6_disable'; did you mean 'nf_defrag_ipv4_disable'?
Date: Sat, 12 Feb 2022 06:04:51 +0800 [thread overview]
Message-ID: <202202120545.c2k6AbiS-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2326 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue.git dev-queue
head: d35ad64359ca21540d9bf84b4bb072ca21b2f4ac
commit: 75063c9294fb239bbe64eb72141b6871fe526d29 [21/44] netfilter: xt_socket: fix a typo in socket_mt_destroy()
config: sparc-randconfig-s031-20220211 (https://download.01.org/0day-ci/archive/20220212/202202120545.c2k6AbiS-lkp(a)intel.com/config)
compiler: sparc-linux-gcc (GCC) 11.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue.git/commit/?id=75063c9294fb239bbe64eb72141b6871fe526d29
git remote add tnguy-net-queue https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue.git
git fetch --no-tags tnguy-net-queue dev-queue
git checkout 75063c9294fb239bbe64eb72141b6871fe526d29
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=sparc SHELL=/bin/bash net/netfilter/
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 >>):
net/netfilter/xt_socket.c: In function 'socket_mt_destroy':
>> net/netfilter/xt_socket.c:224:17: error: implicit declaration of function 'nf_defrag_ipv6_disable'; did you mean 'nf_defrag_ipv4_disable'? [-Werror=implicit-function-declaration]
224 | nf_defrag_ipv6_disable(par->net);
| ^~~~~~~~~~~~~~~~~~~~~~
| nf_defrag_ipv4_disable
cc1: some warnings being treated as errors
vim +224 net/netfilter/xt_socket.c
218
219 static void socket_mt_destroy(const struct xt_mtdtor_param *par)
220 {
221 if (par->family == NFPROTO_IPV4)
222 nf_defrag_ipv4_disable(par->net);
223 else if (par->family == NFPROTO_IPV6)
> 224 nf_defrag_ipv6_disable(par->net);
225 }
226
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Eric Dumazet <edumazet@google.com>
Cc: kbuild-all@lists.01.org,
Intel Wired LAN <intel-wired-lan@lists.osuosl.org>,
linux-kernel@vger.kernel.org,
Pablo Neira Ayuso <pablo@netfilter.org>,
Florian Westphal <fw@strlen.de>
Subject: [tnguy-net-queue:dev-queue 21/44] net/netfilter/xt_socket.c:224:17: error: implicit declaration of function 'nf_defrag_ipv6_disable'; did you mean 'nf_defrag_ipv4_disable'?
Date: Sat, 12 Feb 2022 06:04:51 +0800 [thread overview]
Message-ID: <202202120545.c2k6AbiS-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue.git dev-queue
head: d35ad64359ca21540d9bf84b4bb072ca21b2f4ac
commit: 75063c9294fb239bbe64eb72141b6871fe526d29 [21/44] netfilter: xt_socket: fix a typo in socket_mt_destroy()
config: sparc-randconfig-s031-20220211 (https://download.01.org/0day-ci/archive/20220212/202202120545.c2k6AbiS-lkp@intel.com/config)
compiler: sparc-linux-gcc (GCC) 11.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue.git/commit/?id=75063c9294fb239bbe64eb72141b6871fe526d29
git remote add tnguy-net-queue https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue.git
git fetch --no-tags tnguy-net-queue dev-queue
git checkout 75063c9294fb239bbe64eb72141b6871fe526d29
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=sparc SHELL=/bin/bash net/netfilter/
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 >>):
net/netfilter/xt_socket.c: In function 'socket_mt_destroy':
>> net/netfilter/xt_socket.c:224:17: error: implicit declaration of function 'nf_defrag_ipv6_disable'; did you mean 'nf_defrag_ipv4_disable'? [-Werror=implicit-function-declaration]
224 | nf_defrag_ipv6_disable(par->net);
| ^~~~~~~~~~~~~~~~~~~~~~
| nf_defrag_ipv4_disable
cc1: some warnings being treated as errors
vim +224 net/netfilter/xt_socket.c
218
219 static void socket_mt_destroy(const struct xt_mtdtor_param *par)
220 {
221 if (par->family == NFPROTO_IPV4)
222 nf_defrag_ipv4_disable(par->net);
223 else if (par->family == NFPROTO_IPV6)
> 224 nf_defrag_ipv6_disable(par->net);
225 }
226
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
next reply other threads:[~2022-02-11 22:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-11 22:04 kernel test robot [this message]
2022-02-11 22:04 ` [tnguy-net-queue:dev-queue 21/44] net/netfilter/xt_socket.c:224:17: error: implicit declaration of function 'nf_defrag_ipv6_disable'; did you mean 'nf_defrag_ipv4_disable'? kernel test robot
2022-02-11 22:04 ` kernel test robot
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=202202120545.c2k6AbiS-lkp@intel.com \
--to=lkp@intel.com \
--cc=intel-wired-lan@osuosl.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.