All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 4653/6165] kernel/watchdog.c:798:12: warning: 'proc_soft_watchdog' defined but not used
@ 2023-12-10 13:56 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-10 13:56 UTC (permalink / raw)
  To: Thomas Weißschuh
  Cc: oe-kbuild-all, Linux Memory Management List, Luis Chamberlain

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   bc63de6e6ba0b16652c5fb4b9c9916b9e7ca1f23
commit: 8dd5ad307974d01065aba1d2d27f6d9d2d6d6661 [4653/6165] watchdog/core: remove sysctl handlers from public header
config: powerpc64-randconfig-002-20231113 (https://download.01.org/0day-ci/archive/20231210/202312102146.ss7blmxP-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231210/202312102146.ss7blmxP-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/202312102146.ss7blmxP-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> kernel/watchdog.c:798:12: warning: 'proc_soft_watchdog' defined but not used [-Wunused-function]
     798 | static int proc_soft_watchdog(struct ctl_table *table, int write,
         |            ^~~~~~~~~~~~~~~~~~


vim +/proc_soft_watchdog +798 kernel/watchdog.c

   794	
   795	/*
   796	 * /proc/sys/kernel/soft_watchdog
   797	 */
 > 798	static int proc_soft_watchdog(struct ctl_table *table, int write,
   799				void *buffer, size_t *lenp, loff_t *ppos)
   800	{
   801		return proc_watchdog_common(WATCHDOG_SOFTOCKUP_ENABLED,
   802					    table, write, buffer, lenp, ppos);
   803	}
   804	

-- 
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-12-10 13:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-10 13:56 [linux-next:master 4653/6165] kernel/watchdog.c:798:12: warning: 'proc_soft_watchdog' 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.