From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.13 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796259939; b=fTs+rBewdr4dmASMJ7T1bRrMPSzUyyeouD1E+6xFx5XmYT/yZUgopY21tgkHLONImwS+ UEDyzNvm7PSah/+khVSJvuijeGmVxu/d5iWqum8mAwy4BzZLaysb8bKataZV3TuQykI6f o1AkJaJL9Br3sXAh13w5xVdm/lvpuEfo2gbttiQVAkkjS9rKF1OWkODauyy2QFzX+5o7p KjygFGHtg9wDrC3wlwaUaAWCwsbbeh5mklSTluWQE8bwwR2WF7UYi9e69ml62l/uLpebv RzExuIejNaIqnXPpvRKnvgjo1YtFgIdhJSEFDA0fd6cIoypx6ogoRYY93UVnYwxGJ9A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796259939; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:User-Agent; bh=jARVCL3pHGUN/e2w79IXQEvsy1LdQsmaR2jkLBN8TF8=; b=Wh/VoMoR/i+Ign8GOlvR7NIs8Lmj7X2xhlm/8vQu6+g2BPnTfCY0yBsIQttgL+Of87On NZFPdpxwB9WvqzXoeeV+f9xmcolkII/UMYYZrsMjqVGkznnk1mjaaF68LIAlHLB1qApg9 0dMznVWV4cBfTeOPV9spnuHIG74eQXvtkKSiPOSFsJO5akTgKBglEcyuFbUqIhxePwoUS Mdi7oqQPwwNpm1FLadA4+L7bcRBCDC0imZfPRJzzu4OQzg9MvHluZBozQ3+9YdKwkTRhb LIImf3t1N9iYOpFzBfV5Uf8SAjdQkkq3AnYEKD+nF2hqjWOQBrdCXdrg/WPfNWGsIOA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=eG1soYpV; arc=none smtp.remote-ip=198.175.65.13 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0CACA606A322 for ; Thu, 3 Dec 2026 01:05:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0CACA606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=eG1soYpV DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796259940; x=1827795940; h=date:from:to:cc:subject:message-id; bh=jARVCL3pHGUN/e2w79IXQEvsy1LdQsmaR2jkLBN8TF8=; b=eG1soYpVSrwz8Y5Ssm5cuC+CE2uV1nj/fUmkEcpMn17leehjz1V2t4CQ V5PCkTNs1AeUvKvFD4nhO9hG4AsdTgGErETskFgiBEinOfDARVCqwMMrc Kt34t98QnuWoiFHpOUs28DgYdri/OWEbOiX+De9vhpt9Cw+stxghP6qUJ /IBLXJxeVYGReF/lm0IdhMueGl/gAGM89xNzII44tXqIVDSwhIaAfUENU cz9npaviku+43Kj02U358SRvpzkRJNhHKSNGzQta00xkGdaqXn+Em0XIL EbckyN27A/8PNUy1nMKyuNcgyYcXI2I1zARdofzV+RQ3RGZH0SaS1z6Bs A==; X-CSE-ConnectionGUID: ZCsbZ+q/SY+lqRr5QysDDA== X-CSE-MsgGUID: HSdqJpnbR2yt4fngDhh6wg== X-IronPort-AV: E=McAfee;i="6800,10657,11984"; a="5113926" X-IronPort-AV: E=Sophos;i="6.27,247,1787036400"; d="scan'208";a="5113926" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2026 17:05:39 -0800 X-CSE-ConnectionGUID: 7LcNU/9OT7W/nwXWv9HUkg== X-CSE-MsgGUID: DhEBxQdWQ9yBDMkGiJYIoA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,247,1787036400"; d="scan'208";a="13498341" Received: from igk-lkp-server01.igk.intel.com (HELO 146cf1e082f1) ([10.211.93.152]) by orviesa004.jf.intel.com with ESMTP; 02 Dec 2026 17:05:38 -0800 Received: from kbuild by 146cf1e082f1 with local (Exim 4.98.2) (envelope-from ) id 1xYvGR-000000003OA-1RWQ; Thu, 03 Dec 2026 01:05:35 +0000 Date: Thu, 03 Dec 2026 02:04:46 +0100 From: kernel test robot To: oe-kbuild@lists.linux.dev Cc: lkp@intel.com Subject: [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 Message-ID: <20261203020336.opOUwYOl-lkp@intel.com> User-Agent: s-nail v14.9.25 X-Mailing-List: oe-kbuild@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list :::::: :::::: 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 | 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 :::::: CC: Takashi Iwai -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki