Message ID | VI1PR07MB443291A1A53B11863CC94CF2FD000@VI1PR07MB4432.eurprd07.prod.outlook.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 30E361390 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 22 May 2019 10:00:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2348421C9A for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 22 May 2019 10:00:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 17F9828ACE; Wed, 22 May 2019 10:00:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,MALFORMED_FREEMAIL, MISSING_HEADERS,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A6A2C21C9A for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 22 May 2019 10:00:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-ID:Message-ID:Date :Subject:From:Reply-To:To:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=cVRUnjhSDHsgkWIfGmduno9+nxv0bzXClpIoUtATWeE=; b=dtU8dQ0EtD71u4 LmSMcJyYCEchKxjzb7gMAZwwtkEDXeof5OmKWPZ09FCbHg00ACDiem8T+euqgksi5OYW0YKZvirpE E4Wvj3a/EBg2SqaHgnoIEcBbdEgtbMarJYvZAE0VvYyDEMj4bZacnf6oR6jraKT44fx8PnDou6isC JpeRltGQ4zmfdwhsIP+jO71JmrPDXrrrb4Du7PHQqkxm4nQlze12DM7q624SzpqzBhqzQatPiOhq9 O54L/oKHfJENzbetqSfhrNh4zNqdpi1Dby1r68jZAhst2HvtvmfkGOWldvlGw7zs3/Eja5mTlwPgv NIiye0oMKaaA+kzvjucw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hTO34-0005Bb-V8; Wed, 22 May 2019 10:00:38 +0000 Received: from mail-db5eur03olkn0802.outbound.protection.outlook.com ([2a01:111:f400:fe0a::802] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hTO2Q-0003J8-Lh for linux-arm-kernel@lists.infradead.org; Wed, 22 May 2019 10:00:02 +0000 Received: from VE1EUR03FT044.eop-EUR03.prod.protection.outlook.com (10.152.18.57) by VE1EUR03HT110.eop-EUR03.prod.protection.outlook.com (10.152.19.189) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1900.16; Wed, 22 May 2019 09:59:56 +0000 Received: from VI1PR07MB4432.eurprd07.prod.outlook.com (10.152.18.60) by VE1EUR03FT044.mail.protection.outlook.com (10.152.19.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1922.16 via Frontend Transport; Wed, 22 May 2019 09:59:56 +0000 Received: from VI1PR07MB4432.eurprd07.prod.outlook.com ([fe80::91f:b1bb:a60a:fdc3]) by VI1PR07MB4432.eurprd07.prod.outlook.com ([fe80::91f:b1bb:a60a:fdc3%7]) with mapi id 15.20.1922.013; Wed, 22 May 2019 09:59:52 +0000 From: Philippe Mazenauer <philippe.mazenauer@outlook.de> Subject: [PATCH] arm: kexec: Make function static Thread-Topic: [PATCH] arm: kexec: Make function static Thread-Index: AQHVEIUZgDg7hS40xUq+6eBVL19VIg== Date: Wed, 22 May 2019 09:59:52 +0000 Message-ID: <VI1PR07MB443291A1A53B11863CC94CF2FD000@VI1PR07MB4432.eurprd07.prod.outlook.com> Accept-Language: de-CH, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: CO2PR04CA0184.namprd04.prod.outlook.com (2603:10b6:104:5::14) To VI1PR07MB4432.eurprd07.prod.outlook.com (2603:10a6:802:67::17) x-incomingtopheadermarker: OriginalChecksum:9142456758F54D39B48F89E39745417DE4858B598A4A4642D51B4949F38FC9BA; UpperCasedChecksum:673D0B77AC37DD197533B001F0229245E98729DDA58EB21241DBD1DE73F31F60; SizeAsReceived:7446; Count:47 x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-tmn: [N+ZqhKH1FPuF8bK7tTriPAl46xXok0HX] x-microsoft-original-message-id: <20190522095930.157843-1-philippe.mazenauer@outlook.de> x-ms-publictraffictype: Email x-incomingheadercount: 47 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(5050001)(7020095)(20181119110)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031322404)(2017031323274)(2017031324274)(1601125500)(1603101475)(1701031045); SRVR:VE1EUR03HT110; x-ms-traffictypediagnostic: VE1EUR03HT110: x-microsoft-antispam-message-info: eS9mnvW9kHXHBBWNTG9JZafcO8zVJPEQAWqDW3RrlqB5J/XLPlW5PYAyq7MzzS2ZvWeSyjOkEOk+A6PshOjMyqJlOGW2dIHCV3VsIGbrsd8spimjIQ2U5JdcusrQAC029JFwqg13iL/Y1ngrE0QH+TB9LGia7nYat3apUdC9i2P/3K5ZoW3Uf8sbLIY/dThr Content-ID: <F1A48A595A058F458EE05BA24C232FBE@eurprd07.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: dab1e480-4559-47e7-9221-08d6de9c3c0d X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 May 2019 09:59:52.7398 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR03HT110 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190522_025958_715436_D7084076 X-CRM114-Status: GOOD ( 11.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Philippe Mazenauer <philippe.mazenauer@outlook.de>, Will Deacon <will.deacon@arm.com>, Russell King <linux@armlinux.org.uk>, "moderated list:ARM PORT" <linux-arm-kernel@lists.infradead.org>, open list <linux-kernel@vger.kernel.org> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
arm: kexec: Make function static
|
expand
|
diff --git a/arch/arm/kernel/machine_kexec.c b/arch/arm/kernel/machine_kexec.c index 76300f3813e8..245621573802 100644 --- a/arch/arm/kernel/machine_kexec.c +++ b/arch/arm/kernel/machine_kexec.c @@ -79,7 +79,7 @@ void machine_kexec_cleanup(struct kimage *image) { } -void machine_crash_nonpanic_core(void *unused) +static void machine_crash_nonpanic_core(void *unused) { struct pt_regs regs;
Make function machine_crash_nonpanic_core() static, as it is only referenced in this file. ../arch/arm/kernel/machine_kexec.c:82:6: warning: no previous prototype for ‘machine_crash_nonpanic_core’ [-Wmissing-prototypes] void machine_crash_nonpanic_core(void *unused) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Philippe Mazenauer <philippe.mazenauer@outlook.de> --- arch/arm/kernel/machine_kexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)