From patchwork Wed May 22 09:57:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Philippe Mazenauer X-Patchwork-Id: 10955435 Return-Path: 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 F12071390 for ; Wed, 22 May 2019 09:57:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E162E28B4D for ; Wed, 22 May 2019 09:57:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D444828B50; Wed, 22 May 2019 09:57:23 +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 7457828B4D for ; Wed, 22 May 2019 09:57:23 +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=+NFSVah38HtMepD2o9mklo/z8aFZgRl49MkUXXymQfg=; b=hIU1Fapa5DyOxZ scP93GyaLa7ymChcjmkycUAj/Y58KxaAiKGRNMeGLnCAuvi8QjljVX1QeXVlh2XSBiqv52cDDDLTP V54RqBlXi8oWB5iREwHrvATM4LgnrGWJs7OdbYSeDGJRUe2yKzTFs9YSDESfamZQQBTV3KpJtMbv8 iSUMYkNwLyPggzMlFDQ5I+PgnOCR6gWN3M9QqxGxqC6LvplPyIm6IsaMOr3+3nL0roQe13YaxC6IL jbJwqMdIeh/fMtx2LB4mDjeFkCTLq2zgg/e9kVqXH3HD+js/O7n+5W7jt16Iy6YDbBQhEJt9FC7ac mJMHK4oQmTWxaMMKA7yQ==; 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 1hTNzq-0002ak-MN; Wed, 22 May 2019 09:57:18 +0000 Received: from mail-oln040092070039.outbound.protection.outlook.com ([40.92.70.39] helo=EUR03-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hTNzm-0002aO-Ik for linux-arm-kernel@lists.infradead.org; Wed, 22 May 2019 09:57:16 +0000 Received: from DB5EUR03FT054.eop-EUR03.prod.protection.outlook.com (10.152.20.54) by DB5EUR03HT062.eop-EUR03.prod.protection.outlook.com (10.152.21.132) 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:57:11 +0000 Received: from VI1PR07MB4432.eurprd07.prod.outlook.com (10.152.20.58) by DB5EUR03FT054.mail.protection.outlook.com (10.152.20.248) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1922.16 via Frontend Transport; Wed, 22 May 2019 09:57:11 +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:57:11 +0000 From: Philippe Mazenauer Subject: [PATCH] arm: kernel: add missing import Thread-Topic: [PATCH] arm: kernel: add missing import Thread-Index: AQHVEIS5JK/wZFGeW0ysj4hc5NEdmQ== Date: Wed, 22 May 2019 09:57:11 +0000 Message-ID: Accept-Language: de-CH, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: CO2PR18CA0058.namprd18.prod.outlook.com (2603:10b6:104:2::26) To VI1PR07MB4432.eurprd07.prod.outlook.com (2603:10a6:802:67::17) x-incomingtopheadermarker: OriginalChecksum:0EBD54CD39B947CFB26840CC790FA00BE209348308C9BD1E1E04BD5EE7645C2D; UpperCasedChecksum:EE1ABD9FF380C1EDF3BE532FC7AFC0E0E37C84844EE9CA122273D302D385E886; SizeAsReceived:7461; Count:47 x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-tmn: [5JF0WqkuAb62rehId9iJYhLqbNXcWaaU] x-microsoft-original-message-id: <20190522095649.157754-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:DB5EUR03HT062; x-ms-traffictypediagnostic: DB5EUR03HT062: x-microsoft-antispam-message-info: LrtC/klUwxm4PSfz7sM6of9DNep7vpTwU81yRq/RXWSizKCwkUqVkFbAO+VKUIuCeG7+Tf7HjkPzRamvt/g2DHtf4djX0eKVrLPMwW5bWIz4+L9yKaT7XLK4nqjAyRZxg29Tp/1e0XXB6nLqQOiZgrMNmk0ZEfQH7raUicCsGTpZ+r/iaHYW8zoufRC6Sy77 Content-ID: <45B2D72F8C04944F8780B02BA9D8F266@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: 20f0367c-1455-4098-fe91-08d6de9bdc1c X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 May 2019 09:57:11.7486 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5EUR03HT062 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190522_025714_742090_1EA0A0B6 X-CRM114-Status: GOOD ( 10.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Philippe Mazenauer , Russell King , "moderated list:ARM PORT" , open list Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Include corresponding header file for function module_frob_arch_sections(). ../arch/arm/kernel/module-plts.c:191:5: warning: no previous prototype for ‘module_frob_arch_sections’ [-Wmissing-prototypes] int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, ^~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Philippe Mazenauer --- arch/arm/kernel/module-plts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/kernel/module-plts.c b/arch/arm/kernel/module-plts.c index 3d0c2e4dda1d..3725eccdaa73 100644 --- a/arch/arm/kernel/module-plts.c +++ b/arch/arm/kernel/module-plts.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include