All of lore.kernel.org
 help / color / mirror / Atom feed
* [intel-lts:4.19/android_s 3638/30000] drivers/platform/x86/sepdk/pax/pax.c:88:31: warning: 'pax_version_ops' defined but not used
@ 2023-10-16 13:01 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-10-16 13:01 UTC (permalink / raw)
  To: Jon Moeller; +Cc: oe-kbuild-all, Pan, Kris

tree:   https://github.com/intel/linux-intel-lts.git 4.19/android_s
head:   a0b8c3f924aa72ed5d1892e77377d9144287fc35
commit: fadb19e08fbf603c6b11d9c45dbf33accdd58016 [3638/30000] platform/x86: add sep and socwatch drivers without socperf.
config: i386-buildonly-randconfig-002-20231016 (https://download.01.org/0day-ci/archive/20231016/202310162113.nmC2Keli-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231016/202310162113.nmC2Keli-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/202310162113.nmC2Keli-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/platform/x86/sepdk/pax/pax.c:88:31: warning: 'pax_version_ops' defined but not used [-Wunused-variable]
      88 | static struct file_operations pax_version_ops = {
         |                               ^~~~~~~~~~~~~~~


vim +/pax_version_ops +88 drivers/platform/x86/sepdk/pax/pax.c

    85	
    86	static int pax_version_proc_read(struct seq_file *, void *);
    87	static int pax_version_proc_open(struct inode *, struct file *);
  > 88	static struct file_operations pax_version_ops = {
    89		.owner = THIS_MODULE,
    90		.open = pax_version_proc_open,
    91		.read = seq_read,
    92		.llseek = seq_lseek,
    93		.release = single_release,
    94	};
    95	

-- 
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-10-16 13:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-16 13:01 [intel-lts:4.19/android_s 3638/30000] drivers/platform/x86/sepdk/pax/pax.c:88:31: warning: 'pax_version_ops' defined but not used 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.