All of lore.kernel.org
 help / color / mirror / Atom feed
* [chrome-os:chromeos-6.6 136/153] drivers/usb/typec/ucsi/cros_ec_ucsi.c:127:24: sparse: sparse: symbol 'cros_ucsi_ops' was not declared. Should it be static?
@ 2024-04-27 19:37 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-04-27 19:37 UTC (permalink / raw)
  To: cros-kernel-buildreports, Guenter Roeck; +Cc: oe-kbuild-all

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-6.6
head:   7ec7b4b9d284b739801688bc0d8d02ead80edc06
commit: c4305a040e64e8f28aef41db921b3de50d62e902 [136/153] CHROMIUM: usb: typec: Implement UCSI driver for ChromeOS
config: x86_64-randconfig-122-20240428 (https://download.01.org/0day-ci/archive/20240428/202404280306.To66RR4B-lkp@intel.com/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240428/202404280306.To66RR4B-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/202404280306.To66RR4B-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/usb/typec/ucsi/cros_ec_ucsi.c:127:24: sparse: sparse: symbol 'cros_ucsi_ops' was not declared. Should it be static?
   drivers/usb/typec/ucsi/cros_ec_ucsi.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/umh.h, include/linux/kmod.h, ...):
   include/linux/page-flags.h:242:46: sparse: sparse: self-comparison always evaluates to false

vim +/cros_ucsi_ops +127 drivers/usb/typec/ucsi/cros_ec_ucsi.c

   126	
 > 127	struct ucsi_operations cros_ucsi_ops = {
   128		.read = cros_ucsi_read,
   129		.async_write = cros_ucsi_async_write,
   130		.sync_write = cros_ucsi_sync_write,
   131	};
   132	

-- 
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-04-27 19:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-27 19:37 [chrome-os:chromeos-6.6 136/153] drivers/usb/typec/ucsi/cros_ec_ucsi.c:127:24: sparse: sparse: symbol 'cros_ucsi_ops' 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.