[xilinx-xlnx:master 12090/14520] drivers/fpga/zynq-afi.c:27: warning: expecting prototype for struct afi_fpga. Prototype was for struct zynq_afi_fpga instead
kernel test robot
lkp at intel.com
Wed Apr 12 10:35:14 PDT 2023
Hi Mauro,
FYI, the error/warning still remains.
tree: https://github.com/Xilinx/linux-xlnx master
head: 3a2a9dcee70777a85b3952269c47e6eb65779b78
commit: 57f1706d9ac1a75fd4e037ce7f7907020c5efe8c [12090/14520] scripts: kernel-doc: validate kernel-doc markup with the actual names
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20230413/202304130139.lWZSndko-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0
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/Xilinx/linux-xlnx/commit/57f1706d9ac1a75fd4e037ce7f7907020c5efe8c
git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xilinx-xlnx master
git checkout 57f1706d9ac1a75fd4e037ce7f7907020c5efe8c
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/dma/xilinx/ drivers/fpga/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp at intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304130139.lWZSndko-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/fpga/zynq-afi.c:27: warning: expecting prototype for struct afi_fpga. Prototype was for struct zynq_afi_fpga instead
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PHY_MTK_HDMI
Depends on [n]: ARCH_MEDIATEK [=n] && OF [=y]
Selected by [y]:
- DRM_MEDIATEK_HDMI [=y] && HAS_IOMEM [=y] && DRM_MEDIATEK [=y]
WARNING: unmet direct dependencies detected for MXC_CLK_SCU
Depends on [n]: COMMON_CLK [=y] && ARCH_MXC [=n] && IMX_SCU [=y] && HAVE_ARM_SMCCC [=y]
Selected by [y]:
- CLK_IMX8QXP [=y] && COMMON_CLK [=y] && (ARCH_MXC [=n] && ARM64 || COMPILE_TEST [=y]) && IMX_SCU [=y] && HAVE_ARM_SMCCC [=y]
vim +27 drivers/fpga/zynq-afi.c
503049b870e6b7 Nava kishore Manne 2018-07-31 18
503049b870e6b7 Nava kishore Manne 2018-07-31 19 /**
503049b870e6b7 Nava kishore Manne 2018-07-31 20 * struct afi_fpga - AFI register description
503049b870e6b7 Nava kishore Manne 2018-07-31 21 * @membase: pointer to register struct
503049b870e6b7 Nava kishore Manne 2018-07-31 22 * @afi_width: AFI bus width to be written
503049b870e6b7 Nava kishore Manne 2018-07-31 23 */
503049b870e6b7 Nava kishore Manne 2018-07-31 24 struct zynq_afi_fpga {
503049b870e6b7 Nava kishore Manne 2018-07-31 25 void __iomem *membase;
503049b870e6b7 Nava kishore Manne 2018-07-31 26 u32 afi_width;
503049b870e6b7 Nava kishore Manne 2018-07-31 @27 };
503049b870e6b7 Nava kishore Manne 2018-07-31 28
:::::: The code at line 27 was first introduced by commit
:::::: 503049b870e6b79cff0512dd0cd8456d7bde7afa fpga: zynq: Add AFI config driver
:::::: TO: Nava kishore Manne <nava.manne at xilinx.com>
:::::: CC: Michal Simek <michal.simek at xilinx.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
More information about the linux-arm-kernel
mailing list