From: kernel test robot <lkp@intel.com> To: Andrea Mayer <andrea.mayer@uniroma2.it>, "David S. Miller" <davem@davemloft.net>, David Ahern <dsahern@kernel.org>, Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>, Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>, Jakub Kicinski <kuba@kernel.org>, Shuah Khan <skhan@linuxfoundation.org>, Shrijeet Mukherjee <shrijeet@gmail.com>, Alexei Starovoitov <ast@kernel.org>, Daniel Borkmann <daniel@iogearbox.net> Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, netdev@vger.kernel.org Subject: Re: [net-next,v2,4/5] seg6: add support for the SRv6 End.DT4 behavior Date: Fri, 13 Nov 2020 17:23:09 +0800 [thread overview] Message-ID: <202011131747.puABQV5A-lkp@intel.com> (raw) In-Reply-To: <20201107153139.3552-5-andrea.mayer@uniroma2.it> [-- Attachment #1: Type: text/plain, Size: 4697 bytes --] Hi Andrea, Thank you for the patch! Yet something to improve: [auto build test ERROR on ipvs/master] [also build test ERROR on linus/master sparc-next/master v5.10-rc3 next-20201112] [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/Andrea-Mayer/seg6-add-support-for-the-SRv6-End-DT4-behavior/20201109-093019 base: https://git.kernel.org/pub/scm/linux/kernel/git/horms/ipvs.git master config: x86_64-randconfig-a005-20201111 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 874b0a0b9db93f5d3350ffe6b5efda2d908415d0) 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/761138e2f757ac64efe97b03311c976db242dc92 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Andrea-Mayer/seg6-add-support-for-the-SRv6-End-DT4-behavior/20201109-093019 git checkout 761138e2f757ac64efe97b03311c976db242dc92 # 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@intel.com> All errors (new ones prefixed by >>): >> net/ipv6/seg6_local.c:793:4: error: field designator 'slwt_ops' does not refer to any field in type 'struct seg6_action_desc' .slwt_ops = { ^ >> net/ipv6/seg6_local.c:826:10: error: invalid application of 'sizeof' to an incomplete type 'struct seg6_action_desc []' count = ARRAY_SIZE(seg6_action_table); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:48:32: note: expanded from macro 'ARRAY_SIZE' #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) ^~~~~ 2 errors generated. vim +793 net/ipv6/seg6_local.c 757 758 static struct seg6_action_desc seg6_action_table[] = { 759 { 760 .action = SEG6_LOCAL_ACTION_END, 761 .attrs = 0, 762 .input = input_action_end, 763 }, 764 { 765 .action = SEG6_LOCAL_ACTION_END_X, 766 .attrs = (1 << SEG6_LOCAL_NH6), 767 .input = input_action_end_x, 768 }, 769 { 770 .action = SEG6_LOCAL_ACTION_END_T, 771 .attrs = (1 << SEG6_LOCAL_TABLE), 772 .input = input_action_end_t, 773 }, 774 { 775 .action = SEG6_LOCAL_ACTION_END_DX2, 776 .attrs = (1 << SEG6_LOCAL_OIF), 777 .input = input_action_end_dx2, 778 }, 779 { 780 .action = SEG6_LOCAL_ACTION_END_DX6, 781 .attrs = (1 << SEG6_LOCAL_NH6), 782 .input = input_action_end_dx6, 783 }, 784 { 785 .action = SEG6_LOCAL_ACTION_END_DX4, 786 .attrs = (1 << SEG6_LOCAL_NH4), 787 .input = input_action_end_dx4, 788 }, 789 { 790 .action = SEG6_LOCAL_ACTION_END_DT4, 791 .attrs = (1 << SEG6_LOCAL_TABLE), 792 .input = input_action_end_dt4, > 793 .slwt_ops = { 794 .build_state = seg6_end_dt4_build, 795 }, 796 }, 797 { 798 .action = SEG6_LOCAL_ACTION_END_DT6, 799 .attrs = (1 << SEG6_LOCAL_TABLE), 800 .input = input_action_end_dt6, 801 }, 802 { 803 .action = SEG6_LOCAL_ACTION_END_B6, 804 .attrs = (1 << SEG6_LOCAL_SRH), 805 .input = input_action_end_b6, 806 }, 807 { 808 .action = SEG6_LOCAL_ACTION_END_B6_ENCAP, 809 .attrs = (1 << SEG6_LOCAL_SRH), 810 .input = input_action_end_b6_encap, 811 .static_headroom = sizeof(struct ipv6hdr), 812 }, 813 { 814 .action = SEG6_LOCAL_ACTION_END_BPF, 815 .attrs = (1 << SEG6_LOCAL_BPF), 816 .input = input_action_end_bpf, 817 }, 818 819 }; 820 821 static struct seg6_action_desc *__get_action_desc(int action) 822 { 823 struct seg6_action_desc *desc; 824 int i, count; 825 > 826 count = ARRAY_SIZE(seg6_action_table); 827 for (i = 0; i < count; i++) { 828 desc = &seg6_action_table[i]; 829 if (desc->action == action) 830 return desc; 831 } 832 833 return NULL; 834 } 835 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 35348 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com> To: kbuild-all@lists.01.org Subject: Re: [net-next, v2, 4/5] seg6: add support for the SRv6 End.DT4 behavior Date: Fri, 13 Nov 2020 17:23:09 +0800 [thread overview] Message-ID: <202011131747.puABQV5A-lkp@intel.com> (raw) In-Reply-To: <20201107153139.3552-5-andrea.mayer@uniroma2.it> [-- Attachment #1: Type: text/plain, Size: 4826 bytes --] Hi Andrea, Thank you for the patch! Yet something to improve: [auto build test ERROR on ipvs/master] [also build test ERROR on linus/master sparc-next/master v5.10-rc3 next-20201112] [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/Andrea-Mayer/seg6-add-support-for-the-SRv6-End-DT4-behavior/20201109-093019 base: https://git.kernel.org/pub/scm/linux/kernel/git/horms/ipvs.git master config: x86_64-randconfig-a005-20201111 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 874b0a0b9db93f5d3350ffe6b5efda2d908415d0) 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/761138e2f757ac64efe97b03311c976db242dc92 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Andrea-Mayer/seg6-add-support-for-the-SRv6-End-DT4-behavior/20201109-093019 git checkout 761138e2f757ac64efe97b03311c976db242dc92 # 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@intel.com> All errors (new ones prefixed by >>): >> net/ipv6/seg6_local.c:793:4: error: field designator 'slwt_ops' does not refer to any field in type 'struct seg6_action_desc' .slwt_ops = { ^ >> net/ipv6/seg6_local.c:826:10: error: invalid application of 'sizeof' to an incomplete type 'struct seg6_action_desc []' count = ARRAY_SIZE(seg6_action_table); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:48:32: note: expanded from macro 'ARRAY_SIZE' #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) ^~~~~ 2 errors generated. vim +793 net/ipv6/seg6_local.c 757 758 static struct seg6_action_desc seg6_action_table[] = { 759 { 760 .action = SEG6_LOCAL_ACTION_END, 761 .attrs = 0, 762 .input = input_action_end, 763 }, 764 { 765 .action = SEG6_LOCAL_ACTION_END_X, 766 .attrs = (1 << SEG6_LOCAL_NH6), 767 .input = input_action_end_x, 768 }, 769 { 770 .action = SEG6_LOCAL_ACTION_END_T, 771 .attrs = (1 << SEG6_LOCAL_TABLE), 772 .input = input_action_end_t, 773 }, 774 { 775 .action = SEG6_LOCAL_ACTION_END_DX2, 776 .attrs = (1 << SEG6_LOCAL_OIF), 777 .input = input_action_end_dx2, 778 }, 779 { 780 .action = SEG6_LOCAL_ACTION_END_DX6, 781 .attrs = (1 << SEG6_LOCAL_NH6), 782 .input = input_action_end_dx6, 783 }, 784 { 785 .action = SEG6_LOCAL_ACTION_END_DX4, 786 .attrs = (1 << SEG6_LOCAL_NH4), 787 .input = input_action_end_dx4, 788 }, 789 { 790 .action = SEG6_LOCAL_ACTION_END_DT4, 791 .attrs = (1 << SEG6_LOCAL_TABLE), 792 .input = input_action_end_dt4, > 793 .slwt_ops = { 794 .build_state = seg6_end_dt4_build, 795 }, 796 }, 797 { 798 .action = SEG6_LOCAL_ACTION_END_DT6, 799 .attrs = (1 << SEG6_LOCAL_TABLE), 800 .input = input_action_end_dt6, 801 }, 802 { 803 .action = SEG6_LOCAL_ACTION_END_B6, 804 .attrs = (1 << SEG6_LOCAL_SRH), 805 .input = input_action_end_b6, 806 }, 807 { 808 .action = SEG6_LOCAL_ACTION_END_B6_ENCAP, 809 .attrs = (1 << SEG6_LOCAL_SRH), 810 .input = input_action_end_b6_encap, 811 .static_headroom = sizeof(struct ipv6hdr), 812 }, 813 { 814 .action = SEG6_LOCAL_ACTION_END_BPF, 815 .attrs = (1 << SEG6_LOCAL_BPF), 816 .input = input_action_end_bpf, 817 }, 818 819 }; 820 821 static struct seg6_action_desc *__get_action_desc(int action) 822 { 823 struct seg6_action_desc *desc; 824 int i, count; 825 > 826 count = ARRAY_SIZE(seg6_action_table); 827 for (i = 0; i < count; i++) { 828 desc = &seg6_action_table[i]; 829 if (desc->action == action) 830 return desc; 831 } 832 833 return NULL; 834 } 835 --- 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: 35348 bytes --]
next prev parent reply other threads:[~2020-11-13 9:23 UTC|newest] Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-11-07 15:31 [net-next,v2,0/5] seg6: add support for SRv6 End.DT4 behavior Andrea Mayer 2020-11-07 15:31 ` [net-next,v2,1/5] vrf: add mac header for tunneled packets when sniffer is attached Andrea Mayer 2020-11-10 22:50 ` Jakub Kicinski 2020-11-13 0:37 ` Andrea Mayer 2020-11-07 15:31 ` [net-next,v2,2/5] seg6: improve management of behavior attributes Andrea Mayer 2020-11-10 22:50 ` Jakub Kicinski 2020-11-13 0:55 ` Andrea Mayer 2020-11-07 15:31 ` [net-next,v2,3/5] seg6: add callbacks for customizing the creation/destruction of a behavior Andrea Mayer 2020-11-10 22:56 ` Jakub Kicinski 2020-11-13 1:06 ` Andrea Mayer 2020-11-07 15:31 ` [net-next,v2,4/5] seg6: add support for the SRv6 End.DT4 behavior Andrea Mayer 2020-11-10 23:12 ` Jakub Kicinski 2020-11-13 1:28 ` Andrea Mayer 2020-11-13 1:49 ` David Ahern 2020-11-13 16:55 ` Jakub Kicinski 2020-11-13 17:02 ` Stefano Salsano 2020-11-13 17:04 ` David Ahern 2020-11-13 19:40 ` Jakub Kicinski 2020-11-13 21:32 ` Stefano Salsano 2020-11-13 21:40 ` Jakub Kicinski 2020-11-13 23:00 ` Andrea Mayer 2020-11-13 23:54 ` Jakub Kicinski 2020-11-14 1:50 ` Andrea Mayer 2020-11-14 2:01 ` Jakub Kicinski 2020-11-14 2:29 ` Andrea Mayer 2020-11-14 2:52 ` David Ahern 2020-11-13 9:23 ` kernel test robot [this message] 2020-11-13 9:23 ` [net-next, v2, 4/5] " kernel test robot 2020-11-13 16:57 ` [net-next,v2,4/5] " Jakub Kicinski 2020-11-13 16:57 ` [net-next, v2, 4/5] " Jakub Kicinski 2020-11-13 17:05 ` [net-next,v2,4/5] " David Ahern 2020-11-13 17:05 ` [net-next, v2, 4/5] " David Ahern 2020-11-13 19:00 ` [net-next,v2,4/5] " Nathan Chancellor 2020-11-13 19:00 ` [net-next, v2, 4/5] " Nathan Chancellor 2020-11-14 3:37 ` [net-next,v2,4/5] " David Ahern 2020-11-14 3:37 ` [net-next, v2, 4/5] " David Ahern 2020-11-23 1:13 ` [kbuild-all] Re: [net-next,v2,4/5] " Rong Chen 2020-11-23 1:13 ` [net-next, v2, 4/5] " Rong Chen 2020-11-23 17:19 ` [kbuild-all] Re: [net-next,v2,4/5] " Jakub Kicinski 2020-11-23 17:19 ` [net-next, v2, 4/5] " Jakub Kicinski 2020-11-07 15:31 ` [net-next,v2,5/5] selftests: add selftest " Andrea Mayer
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=202011131747.puABQV5A-lkp@intel.com \ --to=lkp@intel.com \ --cc=andrea.mayer@uniroma2.it \ --cc=ast@kernel.org \ --cc=clang-built-linux@googlegroups.com \ --cc=daniel@iogearbox.net \ --cc=davem@davemloft.net \ --cc=dsahern@kernel.org \ --cc=kbuild-all@lists.01.org \ --cc=kuba@kernel.org \ --cc=kuznet@ms2.inr.ac.ru \ --cc=netdev@vger.kernel.org \ --cc=shrijeet@gmail.com \ --cc=skhan@linuxfoundation.org \ --cc=yoshfuji@linux-ipv6.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: linkBe 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.