Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp232854pxy; Wed, 28 Apr 2021 03:15:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3qzcY2KkDA+qKLtlFgu/689wMktjnIdTceUczU+pP5fgYPXUlgy+I1RMnEoZiPCHiTa/7 X-Received: by 2002:a17:907:100e:: with SMTP id ox14mr12673644ejb.484.1619604911779; Wed, 28 Apr 2021 03:15:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619604911; cv=none; d=google.com; s=arc-20160816; b=PrF9quQDZXNZoESXQETOd2Fw3R4Zs55ixWjotuZd5whq1BEHxqUKRCygkTQNrgWO+d 580ftiYa3yCQyMB8UqEUe5MmUZVbda+podAt+4gGN5Zpg/Ho7rFE2RIO7Bkb5VslJd1+ xHfzeuI3t1F1HsxhWSM2W6OPl1kMqW7KU+rby4rjwgl3ul5vCKC8++WuR8IE0+r8RUE1 qvn1RwqonVW1l1YWtz+HrLWPJsjKv3c+xwd8BttioMxlHyclevc+POpf3QifZqD3tbFc gFYiy7s4UDoaIbx6O5n2icupZjpSNMml7XUkpDGe9cUusF2hVvKwIA4qag30yFkh3Hg1 RDqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=gmzT+fPWHa+lGW/Dag2J974PIr5baO5TQNGIVIJTr9U=; b=iU+6Kg9mx0No/UQfhedP0nkpjwjhPB3lPT34ExsWqaTCepthdYPF2mOB+vhMPmnMnd KrsJJ493Lvzj0cVv6ijCPjko2DKUv0qm1+2Za0ptGxjXVsfg2Cd4+fiLWRTWVeS6X11U cmpkP4EQDBxQSCDVL0OUPsqEIS4xCfZ6+EuAGULQSGdgCGF30/buHpm6hfKOCC2y00Ix dPD6i9HA64VfuN18g316YPAb6fmGwlvOCUDw4y+NlwtwzFc8IW7DrEIMYprEWcX6yO1k WO+Bi3nIuFMwhZ78XrPYJq1vizyZZ0uJrXqWccrcnoSiw7YFX9n2pTEIdZV0O/xTGmMV 8Scw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y23si2459540ejr.356.2021.04.28.03.14.15; Wed, 28 Apr 2021 03:15:11 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237915AbhD1JrJ (ORCPT + 99 others); Wed, 28 Apr 2021 05:47:09 -0400 Received: from foss.arm.com ([217.140.110.172]:38252 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230113AbhD1JrI (ORCPT ); Wed, 28 Apr 2021 05:47:08 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 34CF6ED1; Wed, 28 Apr 2021 02:46:24 -0700 (PDT) Received: from lpieralisi (e121166-lin.cambridge.arm.com [10.1.196.255]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 68F7A3F70D; Wed, 28 Apr 2021 02:46:23 -0700 (PDT) Date: Wed, 28 Apr 2021 10:46:21 +0100 From: Lorenzo Pieralisi To: Wan Jiabing Cc: Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kael_w@yeah.net Subject: Re: [PATCH] firmware: psci: Remove unneeded semicolon Message-ID: <20210428094621.GB6543@lpieralisi> References: <20210428030324.37998-1-wanjiabing@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210428030324.37998-1-wanjiabing@vivo.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 28, 2021 at 11:03:24AM +0800, Wan Jiabing wrote: > Fix the following coccicheck warning: > > ./drivers/firmware/psci/psci.c:141:2-3: Unneeded semicolon > > Signed-off-by: Wan Jiabing > --- > drivers/firmware/psci/psci.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Fixed by a previous posting: https://lore.kernel.org/lkml/1612247872-32603-1-git-send-email-yang.lee@linux.alibaba.com Thank you anyway. Lorenzo > > diff --git a/drivers/firmware/psci/psci.c b/drivers/firmware/psci/psci.c > index 64344e84bd63..6e7bac61ba93 100644 > --- a/drivers/firmware/psci/psci.c > +++ b/drivers/firmware/psci/psci.c > @@ -138,7 +138,7 @@ static int psci_to_linux_errno(int errno) > return -EINVAL; > case PSCI_RET_DENIED: > return -EPERM; > - }; > + } > > return -EINVAL; > } > -- > 2.25.1 >