All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: [android-common:android17-6.18-2026-06 2/2] kernel/irq/irq_test.c:154:9: sparse: warning: context imbalance in 'irq_shutdown_depth_test' - wrong count at exit
Date: Wed, 02 Dec 2026 17:47:01 +0100	[thread overview]
Message-ID: <20261202174537.fzkaCb9e-lkp@intel.com> (raw)

:::::: 
:::::: Manual check reason: "low confidence static check warning: kernel/irq/irq_test.c:154:9: sparse: warning: context imbalance in 'irq_shutdown_depth_test' - wrong count at exit"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: cros-kernel-buildreports@googlegroups.com

tree:   https://android.googlesource.com/kernel/common android17-6.18-2026-06
head:   20722089a295c92da5cb2a54c07bfc667f5b5427
commit: 5b65258229117995eb6c4bd74995e15fb5f2cfe3 [2/2] genirq/test: Resolve irq lock inversion warnings
:::::: branch date: 14 hours ago
:::::: commit date: 1 year, 4 months ago
config: i386-randconfig-r2309-20261201 (https://download.01.org/0day-ci/archive/20261202/20261202174537.fzkaCb9e-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261202/20261202174537.fzkaCb9e-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
| Fixes: 5b6525822911 ("genirq/test: Resolve irq lock inversion warnings")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261202174537.fzkaCb9e-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> kernel/irq/irq_test.c:154:9: sparse: warning: context imbalance in 'irq_shutdown_depth_test' - wrong count at exit

vim +/irq_shutdown_depth_test +154 kernel/irq/irq_test.c

66067c3c8a1ee09 Brian Norris 2025-05-22  148  
66067c3c8a1ee09 Brian Norris 2025-05-22  149  	KUNIT_EXPECT_EQ(test, desc->depth, 1);
66067c3c8a1ee09 Brian Norris 2025-05-22  150  
66067c3c8a1ee09 Brian Norris 2025-05-22  151  	enable_irq(virq);
66067c3c8a1ee09 Brian Norris 2025-05-22  152  	KUNIT_EXPECT_EQ(test, desc->depth, 0);
66067c3c8a1ee09 Brian Norris 2025-05-22  153  
66067c3c8a1ee09 Brian Norris 2025-05-22 @154  	free_irq(virq, NULL);
66067c3c8a1ee09 Brian Norris 2025-05-22  155  }
66067c3c8a1ee09 Brian Norris 2025-05-22  156  

:::::: The code at line 154 was first introduced by commit
:::::: 66067c3c8a1ee097e9c30e8bbd643b12ba54a6b0 genirq: Add kunit tests for depth counts

:::::: TO: Brian Norris <briannorris@chromium.org>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>

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

                 reply	other threads:[~2026-12-02 16:47 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=20261202174537.fzkaCb9e-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild@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.