Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2360868pxb; Fri, 5 Feb 2021 16:22:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJye4DYefy54V6LlTeQUn8FkXUrhRzC4TgNX2EWzfx8XpfY/A7A/jUapqbFccgP8Ssq3cobq X-Received: by 2002:a17:906:980b:: with SMTP id lm11mr6573030ejb.46.1612570977623; Fri, 05 Feb 2021 16:22:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612570977; cv=none; d=google.com; s=arc-20160816; b=LIKwSlAcGIF2fl5iUTwreKT/aSjDsIHUL+q+QYIRyzPRq84rHSCBcI2q1JLKkWWITN sO40kiADxWPKDZV3W0GCIdxYAuAW4+dZ9ons1B2BQKy8k5w+GfCNQdMlT7Dg4En9FyhY 72y+YARG8BP3iz9o/hR1uoVpXz6Lz6OWcxdDn+69alEnt6CVFihjMLFnDwIIPZzg1Ib9 8b84OvtHVEhM2hREhH4INbCGwfp10zf65J1hLTQEWg2tsizq4TUY2b1y2JpYhMIjELPt 0ZjhNiI5oDPtyeATiQSafwwuVkUFUwmXbF8zHoPaFCq4jdIfI/Clv09VkdZaWI8kan+u H4Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=tGqkrEgNEbwyuEnroBfCsFjA2YPiRlVAv0Joa5oyIcA=; b=DAOwPpP++wWWy1wEL9MPScsoR+b7liySNPuKis/7RqkKBKIXg/evVjMYHCeirkhhF6 rXsvUGPOIuujzjKCD4L6eC40i9SevNjk8RSpncZCwU24MrXkcfDz5QiAcLCvahXEf1sZ e5FIT1cTTw+m7vEgGNgs71NfSo7rAuEoYhQ/bMr2I9go5CCSBE9L8O31AEsuGFTFMyhL 35teGkFhy2PyJ6MHv58OrvMg/EJ+BtIGwoPIiBz/5MIHrDoqztS88l8v9IOlugq8+vMR S+pQI+gEdc13MtoD/I87SWjKb7c4hCB2H9jXoSI4oVbICGzsk1YpDbaKvJVM/Jz+t4xs dWrw== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k3si7707157eds.167.2021.02.05.16.22.33; Fri, 05 Feb 2021 16:22:57 -0800 (PST) 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231131AbhBFATU (ORCPT + 99 others); Fri, 5 Feb 2021 19:19:20 -0500 Received: from mail-ot1-f45.google.com ([209.85.210.45]:44896 "EHLO mail-ot1-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232210AbhBEMwo (ORCPT ); Fri, 5 Feb 2021 07:52:44 -0500 Received: by mail-ot1-f45.google.com with SMTP id e70so6722549ote.11; Fri, 05 Feb 2021 04:52:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tGqkrEgNEbwyuEnroBfCsFjA2YPiRlVAv0Joa5oyIcA=; b=N86DwBbPk8GHTGiEfue+U44SxaRE5sD2xXxCvdNaiiuLzLIc62nGjLskJATtQaXG6a juZLpMBDmbTXO1G3C7gY20te4P74zf2PvUZNnjojOR8IQyzk5kKnORmweqg6B0ZETitk itUYK9bcJsjICMyNLKmYINkkMsHWlGfOSB36NFdnWCBPlIR7Sa7eYXRj+XkF8tU6SckL o8rCduT8H7PZtbiLkHdNN1+rhN4rZgLswR8yBzo3J06d3LP1RUjEwiHaK6ttCc0jyKjP 5sCAQMuBXQJme0q+z9OqKEQlY4NR+pORwTl19wWxrm4TPlh5xCxBo3bCRc6A3im/ZmSB TcZA== X-Gm-Message-State: AOAM5339EyTUAmjqyXSLSbgBppznB0/ZVneTDk71K9uNzLLqO6fUYNzE mYVqvP/g4zAT0A5FGw1kiTQTfgFrm+sU2B34ZK0= X-Received: by 2002:a9d:6acf:: with SMTP id m15mr3252660otq.260.1612529523506; Fri, 05 Feb 2021 04:52:03 -0800 (PST) MIME-Version: 1.0 References: <1612248702-49626-1-git-send-email-yang.lee@linux.alibaba.com> In-Reply-To: <1612248702-49626-1-git-send-email-yang.lee@linux.alibaba.com> From: "Rafael J. Wysocki" Date: Fri, 5 Feb 2021 13:51:49 +0100 Message-ID: Subject: Re: [PATCH] apei: erst: remove unneeded semicolon To: Yang Li Cc: Kees Cook , Anton Vorontsov , Colin Cross , Tony Luck , "Rafael J. Wysocki" , Len Brown , James Morse , Borislav Petkov , ACPI Devel Maling List , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 2, 2021 at 7:52 AM Yang Li wrote: > > Eliminate the following coccicheck warning: > ./drivers/acpi/apei/erst.c:691:2-3: Unneeded semicolon > > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- > drivers/acpi/apei/erst.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/acpi/apei/erst.c b/drivers/acpi/apei/erst.c > index 2e0b0fc..b959721 100644 > --- a/drivers/acpi/apei/erst.c > +++ b/drivers/acpi/apei/erst.c > @@ -688,7 +688,7 @@ static int __erst_read_from_storage(u64 record_id, u64 offset) > break; > if (erst_timedout(&timeout, SPIN_UNIT)) > return -EIO; > - }; > + } > rc = apei_exec_run(&ctx, ACPI_ERST_GET_COMMAND_STATUS); > if (rc) > return rc; > -- Applied as 5.12 material, thanks!