All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Thomas Weißschuh" <linux@weissschuh.net>
Cc: oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>,
	Luis Chamberlain <mcgrof@kernel.org>
Subject: [linux-next:master 4653/6165] kernel/watchdog.c:798:12: warning: 'proc_soft_watchdog' defined but not used
Date: Sun, 10 Dec 2023 21:56:43 +0800	[thread overview]
Message-ID: <202312102146.ss7blmxP-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-12-10 13:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202312102146.ss7blmxP-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-mm@kvack.org \
    --cc=linux@weissschuh.net \
    --cc=mcgrof@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.