All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Andrew Murray <amurray@thegoodpenguin.co.uk>
Cc: oe-kbuild-all@lists.linux.dev, 0day robot <lkp@intel.com>
Subject: kernel/printk/sysctl.c:11:18: warning: 'ten_thousand' defined but not used
Date: Thu, 14 May 2026 16:11:43 +0200	[thread overview]
Message-ID: <202605141615.ckL2UO2K-lkp@intel.com> (raw)

tree:   https://github.com/intel-lab-lkp/linux/commits/Andrew-Murray/printk-remove-BOOT_PRINTK_DELAY/20260514-132813
head:   fa13da135c46ed95604a44c0723b4abeddd5eb7f
commit: fa13da135c46ed95604a44c0723b4abeddd5eb7f printk: remove BOOT_PRINTK_DELAY
date:   9 hours ago
config: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20260514/202605141615.ckL2UO2K-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260514/202605141615.ckL2UO2K-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/202605141615.ckL2UO2K-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> kernel/printk/sysctl.c:11:18: warning: 'ten_thousand' defined but not used [-Wunused-const-variable=]
      11 | static const int ten_thousand = 10000;
         |                  ^~~~~~~~~~~~


vim +/ten_thousand +11 kernel/printk/sysctl.c

faaa357a55e034 Xiaoming Ni 2022-01-21  10  
faaa357a55e034 Xiaoming Ni 2022-01-21 @11  static const int ten_thousand = 10000;
faaa357a55e034 Xiaoming Ni 2022-01-21  12  

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-05-14 14:12 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=202605141615.ckL2UO2K-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=amurray@thegoodpenguin.co.uk \
    --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.