Hi Pablo,
I love your patch! Yet something to improve:
[auto build test ERROR on nf/master]
[also build test ERROR on nf-next/master v5.13-rc5 next-20210607]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Pablo-Neira-Ayuso/netfilter-nf_t...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf.git master
config: x86_64-randconfig-a006-20210607 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
ae973380c5f6be77ce395022be40350942260be9)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://github.com/0day-ci/linux/commit/b2cb4b60adb3205aad6e4a0637fff3220...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Pablo-Neira-Ayuso/netfilter-nf_tables-add-last-expression/20210607-180754
git checkout b2cb4b60adb3205aad6e4a0637fff3220420dcf0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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 >>):
> ld.lld: error: duplicate symbol: cleanup_module
>> defined at nf_tables_api.c:9761 (net/netfilter/nf_tables_api.c:9761)
>> net/netfilter/nf_tables_api.o:(cleanup_module)
>> defined at nft_last.c:83 (net/netfilter/nft_last.c:83)
>> net/netfilter/nft_last.o:(.exit.text+0x0)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org