tree: https://github.com/cschaufler/smack-next next head: 322dd63c7f98315b5794653bc582d109841219ae commit: 36be81293dbe35aca487917c2d76941bf734d2ad [1/3] Smack: Consolidate uses of secmark into a function config: arm-randconfig-r001-20200911 (attached as .config) compiler: arm-linux-gnueabi-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 git checkout 36be81293dbe35aca487917c2d76941bf734d2ad # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All error/warnings (new ones prefixed by >>): security/smack/smack_lsm.c: In function 'smack_from_skb': >> security/smack/smack_lsm.c:3821:26: error: 'struct sk_buff' has no member named 'secmark'; did you mean 'mark'? 3821 | if (skb == NULL || skb->secmark == 0) | ^~~~~~~ | mark security/smack/smack_lsm.c:3824:31: error: 'struct sk_buff' has no member named 'secmark'; did you mean 'mark'? 3824 | return smack_from_secid(skb->secmark); | ^~~~~~~ | mark >> security/smack/smack_lsm.c:3825:1: warning: control reaches end of non-void function [-Wreturn-type] 3825 | } | ^ # https://github.com/cschaufler/smack-next/commit/36be81293dbe35aca487917c2d76941bf734d2ad git remote add cschaufler https://github.com/cschaufler/smack-next git fetch --no-tags cschaufler next git checkout 36be81293dbe35aca487917c2d76941bf734d2ad vim +3821 security/smack/smack_lsm.c 3812 3813 /** 3814 * smack_from_skb - Smack data from the secmark in an skb 3815 * @skb: packet 3816 * 3817 * Returns smack_known of the secmark or NULL if that won't work. 3818 */ 3819 static struct smack_known *smack_from_skb(struct sk_buff *skb) 3820 { > 3821 if (skb == NULL || skb->secmark == 0) 3822 return NULL; 3823 3824 return smack_from_secid(skb->secmark); > 3825 } 3826 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org