* [android-common:android17-6.18-2026-06 2/2] sound/firewire/bebob/bebob_stream.c:965:5: sparse: warning: context imbalance in 'snd_bebob_stream_lock_try' - wrong count at exit
@ 2026-12-03 1:04 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-12-03 1:04 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence static check warning: sound/firewire/bebob/bebob_stream.c:965:5: sparse: warning: context imbalance in 'snd_bebob_stream_lock_try' - 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: 9c2ca41d573c26c5b7b83149f81b2b17076e8d94 [2/2] ALSA: firewire: bebob: Use guard() for spin locks
:::::: branch date: 22 hours ago
:::::: commit date: 1 year, 3 months ago
config: i386-randconfig-r2309-20261201 (https://download.01.org/0day-ci/archive/20261203/20261203020336.opOUwYOl-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/20261203/20261203020336.opOUwYOl-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: 9c2ca41d573c ("ALSA: firewire: bebob: Use guard() for spin locks")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261203020336.opOUwYOl-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
sound/firewire/bebob/bebob_stream.c:267:15: sparse: warning: Initializer entry defined twice
sound/firewire/bebob/bebob_stream.c:267:15: sparse: also defined here
sound/firewire/bebob/bebob_stream.c:793:15: sparse: warning: Initializer entry defined twice
sound/firewire/bebob/bebob_stream.c:793:15: sparse: also defined here
>> sound/firewire/bebob/bebob_stream.c:965:5: sparse: warning: context imbalance in 'snd_bebob_stream_lock_try' - wrong count at exit
>> sound/firewire/bebob/bebob_stream.c:979:6: sparse: warning: context imbalance in 'snd_bebob_stream_lock_release' - wrong count at exit
--
>> sound/firewire/bebob/bebob_hwdep.c:53:1: sparse: warning: context imbalance in 'hwdep_poll' - wrong count at exit
>> sound/firewire/bebob/bebob_hwdep.c:87:1: sparse: warning: context imbalance in 'hwdep_lock' - wrong count at exit
>> sound/firewire/bebob/bebob_hwdep.c:100:1: sparse: warning: context imbalance in 'hwdep_unlock' - wrong count at exit
>> sound/firewire/bebob/bebob_hwdep.c:117:9: sparse: warning: context imbalance in 'hwdep_release' - wrong count at exit
--
>> sound/firewire/bebob/bebob_midi.c:47:13: sparse: warning: context imbalance in 'midi_capture_trigger' - wrong count at exit
>> sound/firewire/bebob/bebob_midi.c:61:13: sparse: warning: context imbalance in 'midi_playback_trigger' - wrong count at exit
vim +/snd_bebob_stream_lock_try +965 sound/firewire/bebob/bebob_stream.c
618eabeae711c5 Takashi Sakamoto 2014-04-25 964
618eabeae711c5 Takashi Sakamoto 2014-04-25 @965 int snd_bebob_stream_lock_try(struct snd_bebob *bebob)
618eabeae711c5 Takashi Sakamoto 2014-04-25 966 {
9c2ca41d573c26 Takashi Iwai 2025-08-28 967 guard(spinlock_irq)(&bebob->lock);
618eabeae711c5 Takashi Sakamoto 2014-04-25 968
618eabeae711c5 Takashi Sakamoto 2014-04-25 969 /* user land lock this */
9c2ca41d573c26 Takashi Iwai 2025-08-28 970 if (bebob->dev_lock_count < 0)
9c2ca41d573c26 Takashi Iwai 2025-08-28 971 return -EBUSY;
618eabeae711c5 Takashi Sakamoto 2014-04-25 972
618eabeae711c5 Takashi Sakamoto 2014-04-25 973 /* this is the first time */
618eabeae711c5 Takashi Sakamoto 2014-04-25 974 if (bebob->dev_lock_count++ == 0)
618eabeae711c5 Takashi Sakamoto 2014-04-25 975 snd_bebob_stream_lock_changed(bebob);
9c2ca41d573c26 Takashi Iwai 2025-08-28 976 return 0;
618eabeae711c5 Takashi Sakamoto 2014-04-25 977 }
618eabeae711c5 Takashi Sakamoto 2014-04-25 978
618eabeae711c5 Takashi Sakamoto 2014-04-25 @979 void snd_bebob_stream_lock_release(struct snd_bebob *bebob)
:::::: The code at line 965 was first introduced by commit
:::::: 618eabeae711c56d376daa147c6a684116d68705 ALSA: bebob: Add hwdep interface
:::::: TO: Takashi Sakamoto <o-takashi@sakamocchi.jp>
:::::: CC: Takashi Iwai <tiwai@suse.de>
--
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:[~2026-12-03 1:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 1:04 [android-common:android17-6.18-2026-06 2/2] sound/firewire/bebob/bebob_stream.c:965:5: sparse: warning: context imbalance in 'snd_bebob_stream_lock_try' - wrong count at exit 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.