From patchwork Sat Jun 19 02:02:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiabing Wan X-Patchwork-Id: 1494547 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Nlo4Vu8n; dkim=fail reason="key not found in DNS" header.d=vivo.com header.i=@vivo.com header.a=rsa-sha256 header.s=default header.b=dLpdFc9Q; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4G6Jx836P5z9sW6 for ; Sat, 19 Jun 2021 12:03:40 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ZXsZir7RoshZ52PjAM367+Xm9bmNQM5xi71SO92KGq0=; b=Nlo4Vu8nD8Fbci OAfp/Ce4HGb3YPGr/KowsGWW0kfmxoiCVg/gYvABYUL3mliCEMuihziYx1RtdJRqtd6FnANVk/Lbw h/AemOBlzxwGhuXlaQBG86vr1T547NDUyUMIXdUM+w9W2XbOWB6AmHjQg/5aaFpf+XVi9DtrrrPf+ DZ1u+oa5/b0j9JRBQMO0UZn99FrXFHOXVSyZ0wevO4FGBpVa30bq4NB/9QReo69P7yEDtVC72X44w BdF/H9dgwKStmTfrd8D/ILQAODTLCe4/KDUnelkGmeYmPBAKZtMGRzd8UHY4EjCJH/CwXaT5vNR1b PHoSHMO9/SZxbvPZhIpw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1luQKL-00G18x-VN; Sat, 19 Jun 2021 02:03:17 +0000 Received: from mail-m121144.qiye.163.com ([115.236.121.144]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1luQKI-00G18M-GB for linux-um@lists.infradead.org; Sat, 19 Jun 2021 02:03:16 +0000 DKIM-Signature: a=rsa-sha256; b=dLpdFc9Q7rPSgM68Awvtd0xeLc5bI8T3xuKCV134KeWUMdsQA1JylXOK+IztBEu3RUVH7WWPLadtRdf0rZmuYeKYhqHo5pe5KzdDcylvvXLuSUixNWqWbTevTW9zSyu2dxujNTWv+k71+iCfDtPLMb9ze/gXYewP16vsLW7fprs=; c=relaxed/relaxed; s=default; d=vivo.com; v=1; bh=/ebFraQVopw3z7zea9Lub4DRXBudgNMt+6DiRZl95uo=; h=date:mime-version:subject:message-id:from; Received: from Wanjb.localdomain (unknown [36.152.145.182]) by mail-m121144.qiye.163.com (Hmail) with ESMTPA id 1A389AC0113; Sat, 19 Jun 2021 10:03:08 +0800 (CST) From: Wan Jiabing To: Jeff Dike , Richard Weinberger , Anton Ivanov , Johannes Berg , Andrew Morton , Nick Desaulniers , Corey Minyard , Thomas Meyer , Andy Shevchenko , Joe Perches , Wan Jiabing , linux-um@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] um: remove unneeded semicolon in um_arch.c Date: Sat, 19 Jun 2021 10:02:59 +0800 Message-Id: <20210619020301.77672-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZQxhJGFYfTRkZS0wfSksYTE1VEwETFhoSFyQUDg9ZV1kWGg8SFR0UWUFZT0tIVUpKS0 hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6MBg6Ngw5ET8XAUJRCD8XNTEq SS4KFC1VSlVKTUlPS01DSkNDTU5KVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFJSUpNNwY+ X-HM-Tid: 0a7a2201e8bdb039kuuu1a389ac0113 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210618_190314_728334_A297474E X-CRM114-Status: UNSURE ( 8.60 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Fix following coccicheck warning: ./arch/um/kernel/um_arch.c:284:34-35: Unneeded semicolon Signed-off-by: Wan Jiabing --- arch/um/kernel/um_arch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Content analysis details: (0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [115.236.121.144 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [115.236.121.144 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.1 DKIM_INVALID DKIM or DK signature exists, but is not valid X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Fix following coccicheck warning: ./arch/um/kernel/um_arch.c:284:34-35: Unneeded semicolon Signed-off-by: Wan Jiabing --- arch/um/kernel/um_arch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index f9f1463f0521..a149a5e9a16a 100644 --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch.c @@ -281,7 +281,7 @@ static void parse_host_cpu_flags(char *line) int i; for (i = 0; i < 32*NCAPINTS; i++) { if ((x86_cap_flags[i] != NULL) && strstr(line, x86_cap_flags[i])) - set_cpu_cap(&boot_cpu_data, i);; + set_cpu_cap(&boot_cpu_data, i); } } static void parse_cache_line(char *line)