Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp105390ybh; Tue, 10 Mar 2020 20:27:27 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu8SuWzakseUTRtwHhC2Iqcpue2B51RdPh/m8QIj7d6VHuqfuUMU3Y8hwLJio3KCBlrU4SU X-Received: by 2002:a9d:4783:: with SMTP id b3mr711638otf.212.1583897247372; Tue, 10 Mar 2020 20:27:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583897247; cv=none; d=google.com; s=arc-20160816; b=jyaa6oF6oWZb8qFFwy004cYoigJnngtkzkeBp5NopWhzZIL/BWs/bpS5IbqVIvw/P2 4IHemtk3fZ+wGMoa/jN8d5eDH/gv1zS9exlMcVJ/TDtkfUDcyFQaS9a4NmoqoI3kZEZq cx+rwEB/JFh8tRxYigzaPAFDRO3Nw30TY0FObPghJAxa4gf5Ctid03KuJtfbu3EsHrah FPb0OAS8+tqOp8SNfSwRzeI2SCraxPuWMNad2b2NKvFrerFlPEFHi7NcMLQj6KRQ4VRe v90lf/Pt2z1IstjqgSUVwqqjCuDTZVZ8Evgw4cgmRSJn1wCOrTeiznw0Z1fDdtm1TwvY OF6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature:dkim-signature; bh=n7m72Tx+CWEa02zHghdkj9AV/pWoZotPpODUQGq39GM=; b=dnXu05ew5M8mrgatXHIm5/PJqAkQQ64RotEOR7sq/kTabOId7iVMQlBkOWTfbR5ap/ 8ncq0o162QsSuB5uWE9ROYpmTYA+TdSKwzSU2Yz5s5eNR8WU0vbr9lDXfk+Si2/r5ktP wnm6rqNU4h7rjL+MhdHiA8mjp8ztWiWAZzNy4ToMlTv0dfe3fgB9Rc+qoi8GM7VOu+SH j1uxQa02+f5RUKR7jlLqzOOAH+vgaMtuMRWoIJOLayHdu4YUyLDIqgq4UGN+hlFR65kX EnF8Yj6NRxgwivM57qamGpon3vqjf1Gj5E5zj+otjMKn5QGI6hRuZgwwn61PF4LIPkO8 4FUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sakamocchi.jp header.s=fm1 header.b=TrxEz737; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=CsgbMFq0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x79si432530oif.180.2020.03.10.20.27.15; Tue, 10 Mar 2020 20:27:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@sakamocchi.jp header.s=fm1 header.b=TrxEz737; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=CsgbMFq0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727659AbgCKD0y (ORCPT + 99 others); Tue, 10 Mar 2020 23:26:54 -0400 Received: from wnew2-smtp.messagingengine.com ([64.147.123.27]:52289 "EHLO wnew2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727648AbgCKD0x (ORCPT ); Tue, 10 Mar 2020 23:26:53 -0400 X-Greylist: delayed 471 seconds by postgrey-1.27 at vger.kernel.org; Tue, 10 Mar 2020 23:26:53 EDT Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.west.internal (Postfix) with ESMTP id C6EC46BE; Tue, 10 Mar 2020 23:19:00 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 10 Mar 2020 23:19:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakamocchi.jp; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=n7m72Tx+CWEa02zHghdkj9AV/pW oZotPpODUQGq39GM=; b=TrxEz737tfc4toeTcWR6JE6dB+EN4l1X7zs9bym9ZW3 6HcmOb6wtTuWJRtDKH8N6LWA6iVwY6S1lvkdLnp8DJRFN4yE/LlCXVS9Czh7M+Zr WJCwXjQnSM0NuK4fmv4wjXJYZ5a1U26aBPHKl+MIGlHh53Yyu5o8CxEzNtsDlo+s nsnb7nw0sNQV95CBjm9uwt8DsHoBsYCeqZxZyWHFoz/ydz6oZLvV9tSmY4OElaO2 scjr9g8LRd+CpR292Oj1p5qHrpchE9KxnZbA+hkNMxsVrsilWRZkAMdX4xAtBGqO 6SZ3rgaoNt8BRmB32jYRExf+5bMu9Fq/5F2aiWtpsBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=n7m72T x+CWEa02zHghdkj9AV/pWoZotPpODUQGq39GM=; b=CsgbMFq0GBoJbAzszr8IH5 /25ZkX1Z3ZP6p9bO86zYssPEZCBQ6NPhk1yj1WI5YSEKe+IxdVnObvWw7xCM1rJg cysDqa8PwmcLR1au8LKZxNDpkzEQ3iGz730i59Fu9CaOrwrzN72erFKw+NN312B3 6S1JGk6LnGQXuPqKwnOkgrJ52tK8x5dbsgBo+5Sq5upCD5fvBKPHaArzO3ng1+db pdiDJ/TomXx3EA03ZXpoiZXESNmKpqOt7Ss9MZz5bNr67FtX0Yq1Sv50KZrVvyHv 1OExx+A0fZkSrVLoF13nKioeCyvsfBRmiWH8+RtdpqWtuF4Vv7WwGLZwDc7Jwy2A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedruddvuddgheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjfgesthdtredttdervdenucfhrhhomhepvfgrkhgr shhhihcuufgrkhgrmhhothhouceoohdqthgrkhgrshhhihesshgrkhgrmhhotggthhhird hjpheqnecukfhppedugedrfedrjeegrdduieeknecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepohdqthgrkhgrshhhihesshgrkhgrmhhotggthh hirdhjph X-ME-Proxy: Received: from workstation (ae074168.dynamic.ppp.asahi-net.or.jp [14.3.74.168]) by mail.messagingengine.com (Postfix) with ESMTPA id 7370B328005A; Tue, 10 Mar 2020 23:18:56 -0400 (EDT) Date: Wed, 11 Mar 2020 12:18:54 +0900 From: Takashi Sakamoto To: Jules Irenge Cc: boqun.feng@gmail.com, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, netdev@vger.kernel.org, Clemens Ladisch , Jaroslav Kysela , Takashi Iwai , Alexios Zavras , Greg Kroah-Hartman , Thomas Gleixner , Allison Randal , "moderated list:FIREWIRE AUDIO DRIVERS and IEC 61883-1/6 PACKET..." Subject: Re: [PATCH 8/8] ALSA: firewire-tascam: Add missing annotation for tscm_hwdep_read_locked() Message-ID: <20200311031853.GA8197@workstation> Mail-Followup-To: Jules Irenge , boqun.feng@gmail.com, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, netdev@vger.kernel.org, Clemens Ladisch , Jaroslav Kysela , Takashi Iwai , Alexios Zavras , Greg Kroah-Hartman , Thomas Gleixner , Allison Randal , "moderated list:FIREWIRE AUDIO DRIVERS and IEC 61883-1/6 PACKET..." References: <0/8> <20200311010908.42366-1-jbi.octave@gmail.com> <20200311010908.42366-9-jbi.octave@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200311010908.42366-9-jbi.octave@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, Mar 11, 2020 at 01:09:08AM +0000, Jules Irenge wrote: > Sparse reports a warning at tscm_hwdep_read_locked() > > warning: context imbalance in tscm_hwdep_read_locked() - unexpected unlock > > The root cause is the missing annotation at tscm_hwdep_read_locked() > Add the missing __releases(&tscm->lock) annotation > > Signed-off-by: Jules Irenge > --- > sound/firewire/tascam/tascam-hwdep.c | 1 + > 1 file changed, 1 insertion(+) Thanks for your care of the warning. Although I have found it, I had no idea to suppress it. Acked-by: Takashi Sakamoto > diff --git a/sound/firewire/tascam/tascam-hwdep.c b/sound/firewire/tascam/tascam-hwdep.c > index 9801e33e7f2a..6f38335fe10b 100644 > --- a/sound/firewire/tascam/tascam-hwdep.c > +++ b/sound/firewire/tascam/tascam-hwdep.c > @@ -17,6 +17,7 @@ > > static long tscm_hwdep_read_locked(struct snd_tscm *tscm, char __user *buf, > long count, loff_t *offset) > + __releases(&tscm->lock) > { > struct snd_firewire_event_lock_status event = { > .type = SNDRV_FIREWIRE_EVENT_LOCK_STATUS, > -- > 2.24.1 >