[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202205272154.7zdeh6A3-lkp@intel.com>
Date: Fri, 27 May 2022 22:03:25 +0800
From: kernel test robot <lkp@...el.com>
To: menglong8.dong@...il.com, kuba@...nel.org
Cc: kbuild-all@...ts.01.org, rostedt@...dmis.org, mingo@...hat.com,
davem@...emloft.net, edumazet@...gle.com, pabeni@...hat.com,
nhorman@...driver.com, ast@...nel.org, daniel@...earbox.net,
andrii@...nel.org, kafai@...com, songliubraving@...com, yhs@...com,
john.fastabend@...il.com, kpsingh@...nel.org,
imagedong@...cent.com, dsahern@...nel.org, talalahmad@...gle.com,
keescook@...omium.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, bpf@...r.kernel.org
Subject: Re: [PATCH net-next 2/3] net: skb: use auto-generation to convert
skb drop reason to string
Hi,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on net-next/master]
url: https://github.com/intel-lab-lkp/linux/commits/menglong8-dong-gmail-com/reorganize-the-code-of-the-enum-skb_drop_reason/20220527-152050
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 7e062cda7d90543ac8c7700fc7c5527d0c0f22ad
config: x86_64-randconfig-a013 (https://download.01.org/0day-ci/archive/20220527/202205272154.7zdeh6A3-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-1) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/intel-lab-lkp/linux/commit/0a1ac892edba0134b4891c9e61e06d462f8262a9
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review menglong8-dong-gmail-com/reorganize-the-code-of-the-enum-skb_drop_reason/20220527-152050
git checkout 0a1ac892edba0134b4891c9e61e06d462f8262a9
# save the config file
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
In file included from net/core/skbuff.c:85:
./net/core/dropreason_str.h:1:1: error: stray '\' in program
1 | \n#define __DEFINE_SKB_DROP_REASON(FN) \
| ^
./net/core/dropreason_str.h:1:3: error: stray '#' in program
1 | \n#define __DEFINE_SKB_DROP_REASON(FN) \
| ^
>> ./net/core/dropreason_str.h:1:2: error: unknown type name 'n'
1 | \n#define __DEFINE_SKB_DROP_REASON(FN) \
| ^
>> ./net/core/dropreason_str.h:1:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__DEFINE_SKB_DROP_REASON'
1 | \n#define __DEFINE_SKB_DROP_REASON(FN) \
| ^~~~~~~~~~~~~~~~~~~~~~~~
>> net/core/skbuff.c:101:9: error: implicit declaration of function '__DEFINE_SKB_DROP_REASON' [-Werror=implicit-function-declaration]
101 | __DEFINE_SKB_DROP_REASON(FN)
| ^~~~~~~~~~~~~~~~~~~~~~~~
>> net/core/skbuff.c:101:34: error: 'FN' undeclared here (not in a function)
101 | __DEFINE_SKB_DROP_REASON(FN)
| ^~
cc1: some warnings being treated as errors
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists