All of lore.kernel.org
 help / color / mirror / Atom feed
* [asahilinux:bits/140-pci 10/15] drivers/pci/controller/pcie-apple.c:150:23: sparse: sparse: symbol 't8103_hw' was not declared. Should it be static?
@ 2023-11-22 15:45 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-22 15:45 UTC (permalink / raw)
  To: Hector Martin; +Cc: oe-kbuild-all

tree:   https://github.com/AsahiLinux/linux bits/140-pci
head:   58cab72f915e70990f9e2c9836b7cb6e79a9db35
commit: bc47733313473d25b60a7f875cf6f806d62a641d [10/15] PCIE: apple: Add T602x PCIe support
config: mips-randconfig-r131-20231122 (https://download.01.org/0day-ci/archive/20231122/202311222023.wSCGWpub-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce: (https://download.01.org/0day-ci/archive/20231122/202311222023.wSCGWpub-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311222023.wSCGWpub-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/pci/controller/pcie-apple.c:150:23: sparse: sparse: symbol 't8103_hw' was not declared. Should it be static?
>> drivers/pci/controller/pcie-apple.c:171:23: sparse: sparse: symbol 't602x_hw' was not declared. Should it be static?

vim +/t8103_hw +150 drivers/pci/controller/pcie-apple.c

   149	
 > 150	const struct reg_info t8103_hw = {
   151		.phy_lane_ctl = PHY_LANE_CTL,
   152		.port_msiaddr = PORT_MSIADDR,
   153		.port_msiaddr_hi = 0,
   154		.port_refclk = PORT_REFCLK,
   155		.port_perst = PORT_PERST,
   156		.port_rid2sid = PORT_RID2SID,
   157		.port_msimap = 0,
   158		.max_rid2sid = 64,
   159		.max_msimap = 0,
   160	};
   161	
   162	#define PORT_T602X_MSIADDR		0x016c
   163	#define PORT_T602X_MSIADDR_HI		0x0170
   164	#define PORT_T602X_PERST		0x082c
   165	#define PORT_T602X_RID2SID		0x3000
   166	#define PORT_T602X_MSIMAP		0x3800
   167	
   168	#define PORT_MSIMAP_ENABLE		BIT(31)
   169	#define PORT_MSIMAP_TARGET		GENMASK(7, 0)
   170	
 > 171	const struct reg_info t602x_hw = {
   172		.phy_lane_ctl = 0,
   173		.port_msiaddr = PORT_T602X_MSIADDR,
   174		.port_msiaddr_hi = PORT_T602X_MSIADDR_HI,
   175		.port_refclk = 0,
   176		.port_perst = PORT_T602X_PERST,
   177		.port_rid2sid = PORT_T602X_RID2SID,
   178		.port_msimap = PORT_T602X_MSIMAP,
   179		.max_rid2sid = 512, /* 16 on t602x, guess for autodetect on future HW */
   180		.max_msimap = 512, /* 96 on t602x, guess for autodetect on future HW */
   181	};
   182	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-22 15:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-22 15:45 [asahilinux:bits/140-pci 10/15] drivers/pci/controller/pcie-apple.c:150:23: sparse: sparse: symbol 't8103_hw' was not declared. Should it be static? kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.