[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202205061215.dxLP469b-lkp@intel.com>
Date: Fri, 6 May 2022 12:19:18 +0800
From: kernel test robot <lkp@...el.com>
To: Jonathan Lemon <jonathan.lemon@...il.com>, netdev@...r.kernel.org
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
richardcochran@...il.com, kernel-team@...com, davem@...emloft.net,
kuba@...nel.org, pabeni@...hat.com
Subject: Re: [PATCH net-next v1 06/10] ptp: ocp: vectorize the sma accessor
functions
Hi Jonathan,
I love your patch! Perhaps something to improve:
[auto build test WARNING on net-next/master]
url: https://github.com/intel-lab-lkp/linux/commits/Jonathan-Lemon/ptp-ocp-various-updates/20220506-075044
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 1c1ed5a48411e1686997157c21633653fbe045c6
config: x86_64-randconfig-a005 (https://download.01.org/0day-ci/archive/20220506/202205061215.dxLP469b-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 5e004fb787698440a387750db7f8028e7cb14cfc)
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/9bcda1415120b99c5ff40815417a85e485b1df3d
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Jonathan-Lemon/ptp-ocp-various-updates/20220506-075044
git checkout 9bcda1415120b99c5ff40815417a85e485b1df3d
# 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=x86_64 SHELL=/bin/bash drivers/ptp/ fs/xfs/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/ptp/ptp_ocp.c:365:32: warning: tentative definition of variable with internal linkage has incomplete non-array type 'const struct ocp_sma_op' [-Wtentative-definition-incomplete-type]
static const struct ocp_sma_op ocp_fb_sma_op;
^
drivers/ptp/ptp_ocp.c:334:15: note: forward declaration of 'struct ocp_sma_op'
const struct ocp_sma_op *sma_op;
^
1 warning generated.
vim +365 drivers/ptp/ptp_ocp.c
363
364 static const struct ocp_attr_group fb_timecard_groups[];
> 365 static const struct ocp_sma_op ocp_fb_sma_op;
366
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists