From: kernel test robot <lkp@intel.com>
To: Jian Shen <shenjian15@huawei.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org
Subject: Re: [RFCv7 PATCH net-next 02/36] net: replace general features macroes with global netdev_features variables
Date: Thu, 11 Aug 2022 04:21:59 +0800 [thread overview]
Message-ID: <202208110427.1rTIDNfZ-lkp@intel.com> (raw)
In-Reply-To: <20220810030624.34711-3-shenjian15@huawei.com>
Hi Jian,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on net-next/master]
url: https://github.com/intel-lab-lkp/linux/commits/Jian-Shen/net-extend-the-type-of-netdev_features_t-to-bitmap/20220810-111706
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git f86d1fbbe7858884d6754534a0afbb74fc30bc26
config: hexagon-randconfig-r023-20220810 (https://download.01.org/0day-ci/archive/20220811/202208110427.1rTIDNfZ-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 5f1c7e2cc5a3c07cbc2412e851a7283c1841f520)
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
# https://github.com/intel-lab-lkp/linux/commit/37294e085e2eafe23ebed9a19e6141256d5ca13e
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Jian-Shen/net-extend-the-type-of-netdev_features_t-to-bitmap/20220810-111706
git checkout 37294e085e2eafe23ebed9a19e6141256d5ca13e
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash net/core/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> net/core/netdev_features.c:9:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
EXPORT_SYMBOL_GPL(netdev_ethtool_features);
^
int
>> net/core/netdev_features.c:9:19: error: a parameter list without types is only allowed in a function definition
EXPORT_SYMBOL_GPL(netdev_ethtool_features);
^
net/core/netdev_features.c:12:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
EXPORT_SYMBOL_GPL(netdev_never_change_features);
^
int
net/core/netdev_features.c:12:19: error: a parameter list without types is only allowed in a function definition
EXPORT_SYMBOL_GPL(netdev_never_change_features);
^
net/core/netdev_features.c:15:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
EXPORT_SYMBOL_GPL(netdev_gso_features_mask);
^
int
net/core/netdev_features.c:15:19: error: a parameter list without types is only allowed in a function definition
EXPORT_SYMBOL_GPL(netdev_gso_features_mask);
^
net/core/netdev_features.c:18:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
EXPORT_SYMBOL_GPL(netdev_ip_csum_features);
^
int
net/core/netdev_features.c:18:19: error: a parameter list without types is only allowed in a function definition
EXPORT_SYMBOL_GPL(netdev_ip_csum_features);
^
net/core/netdev_features.c:21:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
EXPORT_SYMBOL_GPL(netdev_csum_features_mask);
^
int
net/core/netdev_features.c:21:19: error: a parameter list without types is only allowed in a function definition
EXPORT_SYMBOL_GPL(netdev_csum_features_mask);
^
net/core/netdev_features.c:24:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
EXPORT_SYMBOL_GPL(netdev_general_tso_features);
^
int
net/core/netdev_features.c:24:19: error: a parameter list without types is only allowed in a function definition
EXPORT_SYMBOL_GPL(netdev_general_tso_features);
^
net/core/netdev_features.c:27:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
EXPORT_SYMBOL_GPL(netdev_all_tso_features);
^
int
net/core/netdev_features.c:27:19: error: a parameter list without types is only allowed in a function definition
EXPORT_SYMBOL_GPL(netdev_all_tso_features);
^
net/core/netdev_features.c:30:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
EXPORT_SYMBOL_GPL(netdev_tso_ecn_features);
^
int
net/core/netdev_features.c:30:19: error: a parameter list without types is only allowed in a function definition
EXPORT_SYMBOL_GPL(netdev_tso_ecn_features);
^
net/core/netdev_features.c:33:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
EXPORT_SYMBOL_GPL(netdev_all_fcoe_features);
^
int
net/core/netdev_features.c:33:19: error: a parameter list without types is only allowed in a function definition
EXPORT_SYMBOL_GPL(netdev_all_fcoe_features);
^
net/core/netdev_features.c:36:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
EXPORT_SYMBOL_GPL(netdev_gso_software_features);
^
int
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
vim +/int +9 net/core/netdev_features.c
7
8 netdev_features_t netdev_ethtool_features __ro_after_init;
> 9 EXPORT_SYMBOL_GPL(netdev_ethtool_features);
10
--
0-DAY CI Kernel Test Service
https://01.org/lkp
parent reply other threads:[~2022-08-10 20:22 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20220810030624.34711-3-shenjian15@huawei.com>]
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=202208110427.1rTIDNfZ-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=llvm@lists.linux.dev \
--cc=shenjian15@huawei.com \
/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