[PATCH v1 2/3] PCI: rockchip: Simplify reset control handling by using reset_control_bulk*() function

kernel test robot lkp at intel.com
Wed Jun 19 20:27:22 PDT 2024


Hi Anand,

kernel test robot noticed the following build errors:

[auto build test ERROR on pci/next]
[also build test ERROR on pci/for-linus linus/master v6.10-rc4 next-20240619]
[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/Anand-Moon/PCI-rockchip-Simplify-reset-control-handling-by-using-reset_control_bulk-function/20240619-014145
base:   https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next
patch link:    https://lore.kernel.org/r/20240618164133.223194-3-linux.amoon%40gmail.com
patch subject: [PATCH v1 2/3] PCI: rockchip: Simplify reset control handling by using reset_control_bulk*() function
config: arc-randconfig-001-20240620 (https://download.01.org/0day-ci/archive/20240620/202406201156.PPCyjK8r-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240620/202406201156.PPCyjK8r-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 <lkp at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202406201156.PPCyjK8r-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/pci/controller/pcie-rockchip-ep.c:20:
>> drivers/pci/controller/pcie-rockchip.h:319:41: error: array type has incomplete element type 'struct reset_control_bulk_data'
     319 |         struct  reset_control_bulk_data pm_rsts[ROCKCHIP_NUM_PM_RSTS];
         |                                         ^~~~~~~
   drivers/pci/controller/pcie-rockchip.h:320:41: error: array type has incomplete element type 'struct reset_control_bulk_data'
     320 |         struct  reset_control_bulk_data core_rsts[ROCKCHIP_NUM_CORE_RSTS];
         |                                         ^~~~~~~~~
   drivers/pci/controller/pcie-rockchip.h:321:31: error: array type has incomplete element type 'struct clk_bulk_data'
     321 |         struct  clk_bulk_data clks[ROCKCHIP_NUM_CLKS];
         |                               ^~~~


vim +319 drivers/pci/controller/pcie-rockchip.h

   313	
   314	struct rockchip_pcie {
   315		void	__iomem *reg_base;		/* DT axi-base */
   316		void	__iomem *apb_base;		/* DT apb-base */
   317		bool    legacy_phy;
   318		struct  phy *phys[MAX_LANE_NUM];
 > 319		struct  reset_control_bulk_data pm_rsts[ROCKCHIP_NUM_PM_RSTS];
   320		struct  reset_control_bulk_data core_rsts[ROCKCHIP_NUM_CORE_RSTS];
   321		struct  clk_bulk_data clks[ROCKCHIP_NUM_CLKS];
   322		struct	regulator *vpcie12v; /* 12V power supply */
   323		struct	regulator *vpcie3v3; /* 3.3V power supply */
   324		struct	regulator *vpcie1v8; /* 1.8V power supply */
   325		struct	regulator *vpcie0v9; /* 0.9V power supply */
   326		struct	gpio_desc *ep_gpio;
   327		u32	lanes;
   328		u8      lanes_map;
   329		int	link_gen;
   330		struct	device *dev;
   331		struct	irq_domain *irq_domain;
   332		int     offset;
   333		void    __iomem *msg_region;
   334		phys_addr_t msg_bus_addr;
   335		bool is_rc;
   336		struct resource *mem_res;
   337	};
   338	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



More information about the Linux-rockchip mailing list