Hi Haiyue,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on v5.12-rc2]
[also build test WARNING on next-20210315]
[cannot apply to tnguy-next-queue/dev-queue]
[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/Haiyue-Wang/Enable-Intel-VF-flow...
base: a38fd8748464831584a19438cbb3082b5a2dab15
config: powerpc-randconfig-r023-20210315 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
a28facba1ccdc957f386b7753f4958307f1bfde8)
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 powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
#
https://github.com/0day-ci/linux/commit/c7d34ec95d9eda2d29b24cec2d98e9b2b...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Haiyue-Wang/Enable-Intel-VF-flow-director-with-DDP/20210309-112812
git checkout c7d34ec95d9eda2d29b24cec2d98e9b2b887cb1f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/net/ethernet/intel/iavf/iavf_fdir.c:399: warning:
expecting prototype for iavf_fdir_fltr(). Prototype was for iavf_find_fdir_fltr_by_loc()
instead
vim +399 drivers/net/ethernet/intel/iavf/iavf_fdir.c
390
391 /**
392 * iavf_fdir_fltr - find filter with location
393 * @adapter: pointer to the VF adapter structure
394 * @loc: location to find.
395 *
396 * Returns pointer to Flow Director filter if found or null
397 */
398 struct iavf_fdir_fltr *iavf_find_fdir_fltr_by_loc(struct iavf_adapter *adapter, u32
loc)
399 {
400 struct iavf_fdir_fltr *rule;
401
402 list_for_each_entry(rule, &adapter->fdir_list_head, list)
403 if (rule->loc == loc)
404 return rule;
405
406 return NULL;
407 }
408
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org