Thread (2 messages) 2 messages, 2 authors, 2026-03-09

Re: [PATCH v2] ptp: ocp: Add support for Xilinx-based Adva TimeCard variant

From: kernel test robot <hidden>
Date: 2026-03-09 16:06:49
Also in: lkml, llvm, oe-kbuild-all

Hi Sagi,

kernel test robot noticed the following build warnings:

[auto build test WARNING on net-next/main]
[also build test WARNING on net/main linus/master v7.0-rc3 next-20260306]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Sagi-Maimon/ptp-ocp-Add-support-for-Xilinx-based-Adva-TimeCard-variant/20260308-161130
base:   net-next/main
patch link:    https://lore.kernel.org/r/20260308080944.5200-1-maimon.sagi%40gmail.com
patch subject: [PATCH v2] ptp: ocp: Add support for Xilinx-based Adva TimeCard variant
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20260310/202603100054.UoKwTVMf-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260310/202603100054.UoKwTVMf-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot [off-list ref]
| Closes: https://lore.kernel.org/oe-kbuild-all/202603100054.UoKwTVMf-lkp@intel.com/ (local)

All warnings (new ones prefixed by >>):
quoted
drivers/ptp/ptp_ocp.c:438:32: warning: tentative definition of variable with internal linkage has incomplete non-array type 'const struct ocp_sma_op' [-Wtentative-definition-incomplete-type]
     438 | static const struct ocp_sma_op ocp_adva_sma_op;
         |                                ^
   drivers/ptp/ptp_ocp.c:84:15: note: forward declaration of 'struct ocp_sma_op'
      84 |         const struct ocp_sma_op         *sma_op;
         |                      ^
   drivers/ptp/ptp_ocp.c:439:32: warning: tentative definition of variable with internal linkage has incomplete non-array type 'const struct ocp_sma_op' [-Wtentative-definition-incomplete-type]
     439 | static const struct ocp_sma_op ocp_adva_x1_sma_op;
         |                                ^
   drivers/ptp/ptp_ocp.c:84:15: note: forward declaration of 'struct ocp_sma_op'
      84 |         const struct ocp_sma_op         *sma_op;
         |                      ^
   2 warnings generated.


vim +438 drivers/ptp/ptp_ocp.c

   437	
 > 438	static const struct ocp_sma_op ocp_adva_sma_op;
   439	static const struct ocp_sma_op ocp_adva_x1_sma_op;
   440	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help