From: kbuild test robot <lkp@intel.com>
To: Harsha Sharma <harshasharmaiitr@gmail.com>
Cc: kbuild-all@01.org, pablo@netfilter.org,
harshasharmaiitr@gmail.com, netfilter-devel@vger.kernel.org
Subject: Re: [PATCH v2] netfilter: nf_tables: delete table via table handle
Date: Thu, 11 Jan 2018 22:13:35 +0800 [thread overview]
Message-ID: <201801112140.Q1tVTCTC%fengguang.wu@intel.com> (raw)
In-Reply-To: <20180108175818.23100-1-harshasharmaiitr@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2178 bytes --]
Hi Harsha,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on nf/master]
[also build test ERROR on v4.15-rc7 next-20180110]
[cannot apply to nf-next/master]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Harsha-Sharma/netfilter-nf_tables-delete-table-via-table-handle/20180111-153748
base: https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf.git master
config: x86_64-rhel (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
net//netfilter/nf_tables_api.c: In function '__nft_table_lookup_byhandle':
>> net//netfilter/nf_tables_api.c:375:22: error: 'struct nft_table' has no member named 'handle'
if (handle == table->handle &&
^~
net//netfilter/nf_tables_api.c: In function 'nf_tables_deltable':
>> net//netfilter/nf_tables_api.c:890:66: error: 'NFTA_TABLE_HANDLE' undeclared (first use in this function); did you mean 'NFTA_RULE_HANDLE'?
if (family == AF_UNSPEC || (nla[NFTA_TABLE_NAME] == NULL && nla[NFTA_TABLE_HANDLE] == NULL))
^~~~~~~~~~~~~~~~~
NFTA_RULE_HANDLE
net//netfilter/nf_tables_api.c:890:66: note: each undeclared identifier is reported only once for each function it appears in
vim +375 net//netfilter/nf_tables_api.c
368
369 static struct nft_table *__nft_table_lookup_byhandle(const struct nft_af_info *afi,
370 u64 handle, u8 genmask)
371 {
372 struct nft_table *table;
373
374 list_for_each_entry(table, &afi->tables, list) {
> 375 if (handle == table->handle &&
376 nft_active_genmask(table, genmask))
377 return table;
378 }
379 return NULL;
380 }
381
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 40340 bytes --]
prev parent reply other threads:[~2018-01-11 14:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-08 17:58 [PATCH v2] netfilter: nf_tables: delete table via table handle Harsha Sharma
2018-01-08 19:23 ` Pablo Neira Ayuso
2018-01-11 12:37 ` kbuild test robot
2018-01-11 12:39 ` Pablo Neira Ayuso
2018-01-11 14:13 ` kbuild test robot [this message]
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=201801112140.Q1tVTCTC%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=harshasharmaiitr@gmail.com \
--cc=kbuild-all@01.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).