From patchwork Thu Apr 15 21:02:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 1466769 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=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.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=desiato.20200630 header.b=Li26S2U5; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=lZkTYKdr; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (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 4FLsJ03Pprz9sVb for ; Fri, 16 Apr 2021 07:03:12 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=+NCN+ZK/258yq0sn7ETuGherrnXruSPPJepYsRafEJM=; b=Li26S2U56KHpTjJVttO7VYr/nc ZE0+1Q3aCLmw6HhS1UNb0bJiKpNhd5/byT9HvzoVW874HWMbNtyEq+NGEOFh7UPluedH0D5HLiBSE P/nxuhfI0FKxtSEdHIfND0nu1hf0BAYNEMEvdq8FrIVuerDGWs6wc9Qe7R94WbTz9ORxEbDN1f/jQ Kh6KrjbcqAXvs7ft0KTLWRItCZHBaxqBZYZ3RoUvy65t8jGeQRg9aMFGQ1Rf17qzhd2BaHZFG9q6Q Xa67gyYeOTcVezYF3uEfmIoCcOACo7Q+mQarqLuk2zZftcFudzzGFyb6RFmZeL/XJ3aXwnrsQpfYK ABuZ29lQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lX98e-00HKvp-Ht; Thu, 15 Apr 2021 21:03:00 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lX98b-00HKvQ-P5 for linux-um@desiato.infradead.org; Thu, 15 Apr 2021 21:02:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:In-Reply-To:References; bh=yvpcZqBxCuxsWvcOBl29djOpLsCGk/PG3bk/9yhy9EE=; b=lZkTYKdrmqo6RX0xZVo0xvIRKE MmWa/eVeIsJP0ASK05OWJWlg7oSNLBoIfMxaOS/07MarCSkipsIH2oZsfjfgyUqSAyXA7Xx4KMl+u tDst89h4KzNglha3G093ixdAPYFxOR6pGkhbFrLkZhe/D55LEiBnlV5NWM6EiMNJNtzpAx86+SsGZ Wvbl4m32A4n9sf4rEi5KfLAXeD6p7oE3Pya7p8MRB34QvnNbL3Vior+IdAwngk0NtZ94m0lzKKOSs pA11y+mI/jfqLVy66ACX93X2Kw6BdaRGsaIX8yHYUkoNASkREEMs6NfUOTa49N7LlimWmcctZHfG5 jpxGt9XQ==; Received: from youngberry.canonical.com ([91.189.89.112]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lX98Z-008tHr-BC for linux-um@lists.infradead.org; Thu, 15 Apr 2021 21:02:56 +0000 Received: from 1.general.cking.uk.vpn ([10.172.193.212] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lX98M-0006gt-LV; Thu, 15 Apr 2021 21:02:42 +0000 From: Colin King To: Jeff Dike , Richard Weinberger , Anton Ivanov , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H . Peter Anvin" , Johannes Berg , linux-um@lists.infradead.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] um: Fix inline void order in function declaration Date: Thu, 15 Apr 2021 22:02:42 +0100 Message-Id: <20210415210242.1970216-1-colin.king@canonical.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210415_140255_518549_8BEBEF7C X-CRM114-Status: UNSURE ( 9.87 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) 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: From: Colin Ian King The inline keyword should be between storage class and type. Fix this by swapping void inline to inline void. Signed-off-by: Colin Ian King --- arch/x86/um/shared/sysdep/stub_32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Content analysis details: (-5.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [91.189.89.112 listed in list.dnswl.org] 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [91.189.89.112 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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 From: Colin Ian King The inline keyword should be between storage class and type. Fix this by swapping void inline to inline void. Signed-off-by: Colin Ian King --- arch/x86/um/shared/sysdep/stub_32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/um/shared/sysdep/stub_32.h b/arch/x86/um/shared/sysdep/stub_32.h index c3891c1ada26..b95db9daf0e8 100644 --- a/arch/x86/um/shared/sysdep/stub_32.h +++ b/arch/x86/um/shared/sysdep/stub_32.h @@ -77,7 +77,7 @@ static inline void trap_myself(void) __asm("int3"); } -static void inline remap_stack_and_trap(void) +static inline void remap_stack_and_trap(void) { __asm__ volatile ( "movl %%esp,%%ebx ;"