Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4389256ybf; Wed, 4 Mar 2020 03:02:06 -0800 (PST) X-Google-Smtp-Source: ADFU+vucGdZpH0RHejIdhPlZS+edq2RTQgdKdFvBO+EH8HVogKkMleRzRhXjIOShRJEaSg9jpz20 X-Received: by 2002:aca:c6ca:: with SMTP id w193mr1256035oif.165.1583319726132; Wed, 04 Mar 2020 03:02:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583319726; cv=none; d=google.com; s=arc-20160816; b=GVIRzfW8ebxAxIqdVJMlireiUWBiyOAGtC3sg93CyPPVAFxlT2J4qo1iFcN/ib4JLS IsVGGV2PTiH3+4Q8X/JhLSRegGWUndyBcqgbTOvrFFGwi4YVEZGXcMI9G2gJeHNTCu0C oBv8QsEYZOL8/ErT5Hrcx8B+3utd8DCw9t5MqLezZHgUASlr+cHUTEijruDxj5Pw8S/G 0HKcDf9urZndECgZNXxEzrlW0uC2VEic70DIdOmFgTbGhSEThCaaFcIiTBa1AXJFanMq ZEV3Z11yvxm1JpgMqFZ5F8og3DIxdGgHXh8L36xsRpuE3K9hmTxw4Bu2XjBICk72JyNy LtYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=GFKIy1Yg1dff7/qEcnAexWJs/HT+AvAnSQ8dhMyIEn8=; b=NnOG2K309sQNLnd2LSgDeenguGg32Qm02vMmpWyaJ10Cj1yGE1XVClEMg5ZF3vQG4c ht1xGf27DVpuddb5x3QqRJbAgZA3LjWWjvWWl+YKhP2iVmNadPyx962wujmBmWMcuYAY l3iieo50wJVVennl3yexk5pPEaE57l968E2kzpMdp96xL+XW1QAYKnrGkcgptigG9l6N VnHSzyACqXgZgW4PE85sie9vIDVi8ATI30IZSrGIEGUCD6sPVhn5jkYqcrJyavd0BcoO +5y5LXbM1Eq2K1a+EZ4OFarzpNjvj/cbpjg5YLfBMp1iNE2Xj8SFNISNgm6sJTjdn7uq vIUQ== ARC-Authentication-Results: i=1; mx.google.com; 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 h125si870009oia.253.2020.03.04.03.01.53; Wed, 04 Mar 2020 03:02:06 -0800 (PST) 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; 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 S2387921AbgCDLAW (ORCPT + 99 others); Wed, 4 Mar 2020 06:00:22 -0500 Received: from cloudserver094114.home.pl ([79.96.170.134]:48581 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387841AbgCDLAV (ORCPT ); Wed, 4 Mar 2020 06:00:21 -0500 Received: from 79.184.237.41.ipv4.supernova.orange.pl (79.184.237.41) (HELO kreacher.localnet) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.341) id 17beebadd5720644; Wed, 4 Mar 2020 12:00:19 +0100 From: "Rafael J. Wysocki" To: Jules Irenge Cc: boqun.feng@gmail.com, linux-kernel@vger.kernel.org, Len Brown , "open list:ACPI" Subject: Re: [PATCH 22/30] ACPI: OSL: Add missing annotation for acpi_os_acquire_lock() Date: Wed, 04 Mar 2020 12:00:19 +0100 Message-ID: <6715482.taCdthcxpl@kreacher> In-Reply-To: <20200223231711.157699-23-jbi.octave@gmail.com> References: <20200223231711.157699-23-jbi.octave@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit 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 Monday, February 24, 2020 12:17:03 AM CET Jules Irenge wrote: > Sparse reports a warning at acpi_os_acquire_lock() > > warning: context imbalance in acpi_os_acquire_lock() - unexpected unlock > > The root cause is the missing annotation at acpi_os_acquire_lock() > Add the missing annotation __acquires(lockp) > > Signed-off-by: Jules Irenge > --- > drivers/acpi/osl.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c > index 41168c027a5a..7094abc5ffc6 100644 > --- a/drivers/acpi/osl.c > +++ b/drivers/acpi/osl.c > @@ -1598,6 +1598,7 @@ void acpi_os_delete_lock(acpi_spinlock handle) > */ > > acpi_cpu_flags acpi_os_acquire_lock(acpi_spinlock lockp) > + __acquires(lockp) > { > acpi_cpu_flags flags; > spin_lock_irqsave(lockp, flags); > Merged with the [23/30] and applied with modified subject and changelog as 5.7 material. Thanks!