Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp321448ybz; Wed, 29 Apr 2020 00:30:20 -0700 (PDT) X-Google-Smtp-Source: APiQypINy2yQWpZYv5z/yWbnGTl8ANjMIW+eCETiEqWpT+3U3IlNVctHYCTVd9QROYF4nk4JKy9g X-Received: by 2002:a17:906:468c:: with SMTP id a12mr1374613ejr.149.1588145420546; Wed, 29 Apr 2020 00:30:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588145420; cv=none; d=google.com; s=arc-20160816; b=YCf/06C25pD4xuXaQM1+9NvgBrDNkFG6mKVOOGXqxvuE6xglA0osG8E/99lTo5uHC1 IjLeYh5FyEApfIRSCrZYtndQPFkUvze5v5ou7PqtaX/OlY+aYiA0eNbzPlr88KvHzWTk pUM8BZA9V6YdpJXfJqZvUWjc8L9SGIpKZwC41fvmPJSrDRDnj+5TCJIdYaAEvYNEnYdM CoC407S4RANweV2CMH7u2Xgd2XNI46vICqBhqxZaze+cuK/peI1zXY8sJceOBlsHq9xp Efa5SVLLBY6uM6ndf5XTF7C2B+kz13ca1VbEUpLU+VjGU48+Aa0k1ha6sYLuDXEyU+yz cX0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date; bh=53sCAdevjR1LaltmSJBdC6cUABp94jWPXbI9NlOXF3g=; b=o5HJzuwiX8ymVpFYkf9s+YkFl9DaSIkNGfZzINkAFpu45MQTliVSHVB4xKUfFTWTMU cFlUF0mq2qS4asxJPSuJWKDlRouOs/99Y97mUH0S1grYWmAZCNC2eGgdhcYglboX14/A 8dEcxsXvizae9O4gco5rpGRiDVJsggCzZ0kA3tidYqRhvTuGRxMlY2SbyVKY9lkhlmu/ E6gA1rOrQtRef+hUZDX96pd0kqpjlM3z8N3x09L1PytWUIvyI8fsySBKk/4dsPiHA9jk cnCwTa6bhvzuyQM6Ay9oY6+vIdVdXufgGsMr8t9X6xmjDMWsO7xm//kBp2nJ54ep+v2a a6xg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bi18si3570446edb.109.2020.04.29.00.29.57; Wed, 29 Apr 2020 00:30:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726457AbgD2H14 (ORCPT + 99 others); Wed, 29 Apr 2020 03:27:56 -0400 Received: from mx2.suse.de ([195.135.220.15]:53046 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726355AbgD2H14 (ORCPT ); Wed, 29 Apr 2020 03:27:56 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 5A782ABCC; Wed, 29 Apr 2020 07:27:53 +0000 (UTC) Date: Wed, 29 Apr 2020 09:27:53 +0200 Message-ID: From: Takashi Iwai To: Wu Bo Cc: , , , , , , , , , , Subject: Re: [PATCH] sound:hdmi:fix without unlocked before return In-Reply-To: <1587907042-694161-1-git-send-email-wubo40@huawei.com> References: <1587907042-694161-1-git-send-email-wubo40@huawei.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 26 Apr 2020 15:17:22 +0200, Wu Bo wrote: > > Fix the following coccicheck warning: > sound/pci/hda/patch_hdmi.c:1852:2-8: preceding lock on line 1846 > > After add sanity check to pass klockwork check, > The spdif_mutex should be unlock before return true > in check_non_pcm_per_cvt(). > > Signed-off-by: Wu Bo Applied now with the correction of subject and Fixes tag as well as Cc-to-stable tag. thanks, Takashi