public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* drivers/usb/typec/ucsi/ucsi_yoga_c630.c:101:30: sparse: sparse: symbol 'yoga_c630_ucsi_ops' was not declared. Should it be static?
@ 2024-12-10 12:42 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-12-10 12:42 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: oe-kbuild-all, linux-kernel, Bryan O'Donoghue,
	Heikki Krogerus, Ilpo Järvinen

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   7cb1b466315004af98f6ba6c2546bb713ca3c237
commit: 2ea6d07efe5388d47afdb49079423334c97fe22b usb: typec: ucsi: add Lenovo Yoga C630 glue driver
date:   6 months ago
config: hexagon-randconfig-r122-20241210 (https://download.01.org/0day-ci/archive/20241210/202412102033.J4vZNaaR-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 592c0fe55f6d9a811028b5f3507be91458ab2713)
reproduce: (https://download.01.org/0day-ci/archive/20241210/202412102033.J4vZNaaR-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/202412102033.J4vZNaaR-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/usb/typec/ucsi/ucsi_yoga_c630.c:101:30: sparse: sparse: symbol 'yoga_c630_ucsi_ops' was not declared. Should it be static?

vim +/yoga_c630_ucsi_ops +101 drivers/usb/typec/ucsi/ucsi_yoga_c630.c

   100	
 > 101	const struct ucsi_operations yoga_c630_ucsi_ops = {
   102		.read = yoga_c630_ucsi_read,
   103		.sync_write = yoga_c630_ucsi_sync_write,
   104		.async_write = yoga_c630_ucsi_async_write,
   105	};
   106	

-- 
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:[~2024-12-10 12:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-10 12:42 drivers/usb/typec/ucsi/ucsi_yoga_c630.c:101:30: sparse: sparse: symbol 'yoga_c630_ucsi_ops' was not declared. Should it be static? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox