[xilinx-xlnx:xlnx_rebase_v5.15_LTS 91/1129] 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
Fri May 6 12:15:51 PDT 2022


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS
head:   3076249fc30bf463f8390f89009de928ad3e95ff
commit: 17088e1f506d1236a38b4b53b9bcf9c89f4485fe [91/1129] fpga: zynq: Add AFI config driver
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220507/202205070314.289p80dP-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 11.3.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/17088e1f506d1236a38b4b53b9bcf9c89f4485fe
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15_LTS
        git checkout 17088e1f506d1236a38b4b53b9bcf9c89f4485fe
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash drivers/clk/ drivers/fpga/ drivers/gpu/drm/xlnx/ drivers/media/i2c/ drivers/media/mc/ drivers/media/platform/xilinx/ drivers/misc/ drivers/net/ethernet/xilinx/ drivers/phy/xilinx/ drivers/ptp/ drivers/staging/ drivers/uio/ drivers/usb/host/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at 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


vim +27 drivers/fpga/zynq-afi.c

    18	
    19	/**
    20	 * struct afi_fpga - AFI register description
    21	 * @membase:	pointer to register struct
    22	 * @afi_width:	AFI bus width to be written
    23	 */
    24	struct zynq_afi_fpga {
    25		void __iomem	*membase;
    26		u32		afi_width;
  > 27	};
    28	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



More information about the linux-arm-kernel mailing list