From patchwork Mon Apr 25 22:18:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ilkka Koskinen X-Patchwork-Id: 12826307 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 68F6BC433EF for ; Mon, 25 Apr 2022 22:19:44 +0000 (UTC) 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: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=pxWwGi2ejj8xieQAzjSvKFoCmBdcbpO1EXVCS/SQ9XA=; b=MT+WkkyYd8t644 mo3ua1iBnC2mT+Szq6SbzYg5xQfbddS1lk36+Hcj+I36G4LDC0+306y1r32NRvp5Rgsz0GkWw3zWy DH28Zkz/Bha14+m3tTVj4TE/BRTPHkPp3ZZchXTv20kMYvOyCyAYNM7vaUkU26NIGCyNxzF632N2T pJxjHjS3cIc6gvC+NtnB+WsGOfRXiG+4KChLPl8mCewjHGIzXbM9Z8yEay79Qc58I+qNXfP7Pg96j RLwvJnmk0+/HLTux63dpvl2LRMp0nZlDnsBKuyo85BiGJq1GKjnU2NTGG/iEfFcK5VSpgCmlLHlGB 1vlYQvQjXKO0IahoT4Cw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nj72O-00Bc5M-MX; Mon, 25 Apr 2022 22:18:32 +0000 Received: from mail-dm6nam11on20718.outbound.protection.outlook.com ([2a01:111:f400:7eaa::718] helo=NAM11-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nj72L-00Bc52-4k for linux-arm-kernel@lists.infradead.org; Mon, 25 Apr 2022 22:18:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PneKFFdCBFRNLuqo4vt7WhHL1V6MmokbBbh290DvwoPDPQs0Di5bgQ+jVlKT9loAtFsWDtbbWhMExIKLD9dbfyvc4AZRxBfQ1geJBDr5ZVw2A6UD4vqNM+iwSkAhzLiw36LBCNJCs4jivDSBzXFGXFy4tjTZIPOtPz1u1+38noRcVFMGDvkVl8+t8Jj9taCdu81RhyqXNs81dTfouIPeUmoWNc2JDnvB3mVzlQHf2PhAvMMpH8bYD+syCTbekPKUwinto7Nimnqq/QXQeeCmcTdtf9bW5qreQJWJ/N+Ole6qPXd/0GrR0wAnJ0tdhBajby6KYf9j0fwRefn4NlnhdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CtrvvNBlBlQElBlRpv1FH8wYGHhXgw41j18xQ1uOJaM=; b=A3ptzbBPpBYBHfGVSPpbFIpuly5JOam08RT9asjTOLQnacz/8qPVCFiND/fiSahKg2a40G1n5OQtBYE41We3wuIiAcZKgIIjsraxdv13PxJtrXztj1CdMOc+aow85yg7HM1y+E6BcJeg2X1/00wgcR8cPQmzDbdhA7u8dLoaYBLYt0bX4DKCzvNBbwhhCQJWErMl0FYofKFERpLJUNx/T4HjuIj3b358bwyQTA6RL23AeArTd0DZ2NflTDKHDxhXYfGr5ck0Ua5SM9tbVa5Hh07wztTBQdjxPTxkLihWXGqilpeG+X6TIa+Rcfaz0yhaMnco4Q/+Whr/XcfS9zgR5A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CtrvvNBlBlQElBlRpv1FH8wYGHhXgw41j18xQ1uOJaM=; b=X2QLgZAF0+BfjtaQDB2fahjdoiJAMDpnxy7HIXeKz/IRFqUaaA9SXs/7HwURFKa0hZ/gtLscVtviIhyW6J5nMQUvRUnqKbsl47aBKAGYGaz7eF11y0co0iTrcPAJ/RFlOSsyx1Yq7k9iejap5gZk/9hup2TB+cNHH3HYqt0QgIo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from DM5PR0102MB3590.prod.exchangelabs.com (2603:10b6:4:a4::25) by SN6PR0102MB3598.prod.exchangelabs.com (2603:10b6:805:d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.14; Mon, 25 Apr 2022 22:18:21 +0000 Received: from DM5PR0102MB3590.prod.exchangelabs.com ([fe80::6523:e373:99c:8ce]) by DM5PR0102MB3590.prod.exchangelabs.com ([fe80::6523:e373:99c:8ce%5]) with mapi id 15.20.5186.021; Mon, 25 Apr 2022 22:18:21 +0000 From: Ilkka Koskinen To: Lorenzo Pieralisi , Hanjun Guo , Sudeep Holla , "Rafael J . Wysocki" Cc: Len Brown , Ilkka Koskinen , linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ACPI: AGDI: Fix missing prototype warning for acpi_agdi_init() Date: Mon, 25 Apr 2022 15:18:02 -0700 Message-Id: <20220425221802.68498-1-ilkka@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: CH0PR03CA0012.namprd03.prod.outlook.com (2603:10b6:610:b0::17) To DM5PR0102MB3590.prod.exchangelabs.com (2603:10b6:4:a4::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fbe2f045-1896-41f6-ede1-08da27098209 X-MS-TrafficTypeDiagnostic: SN6PR0102MB3598:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2NKKsb+OCDE1EXmTVnnQ90cbR+n5oseYhXeel5Mq9SzP/7Brf2NjTbdKPu5HIlDba5s4QxrFnOCbEDg+wWPvzfUFmKFHjn3T3veaqLQH752L8xMJe5tzUXre2r6RkTM7apmgjhe/vtb2ncsMWZCx8wfQ4zCAOz2ShgLR/dwr86Rw3mzidulzgAtwL/pnbhEWXitWRCzBeLXpFTSGPieHkL4IploTT9Js3gWdFine3FprHftGsgnssUMeTBJ4jg8rw9dk3lLgwvAWnSynJrikLaYuTCqDU/6Svo2OrbNRil8MpEzqDpBNwmgDrGWs7HGPIaZpZC9IlG6P2WIkz+xh9o2unsNpSYt4iOk5fU4ZWaDe/jw5++hyA9B9HB4nvycDTWr7o2eIyLF6yNu+kqpyH0+cwflQ0RD4wb/5Ez44fFqWn90zHQzGFq1+lrxIJT1pd39/TkT1B3jBO+1mc4OnGYlgU4XtBQdV3e22EbY2WSCqtiY8mwPdiYpzozasalbU5gjCrF5zxYbrY+yc8IuoZVZet1rA56irW9hOlFvL0DmFMkoQzBxwY6Fz8lLaHkVkQLtJ2xeIez1mSvcIm1i7I2NRnKjLvamFLMvsakcBt7/AwxABexJ4kBAlEvVGOTv2WluioNmxr9InHH5hFU6yWNYrKhyhK3xrH9RA/icjvPDa8FybqufIz90MskX82JUeoNXNP95DDhwLF9MfkQap+g== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR0102MB3590.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(508600001)(52116002)(4326008)(6486002)(6666004)(6506007)(6512007)(26005)(186003)(2616005)(1076003)(66946007)(66476007)(83380400001)(66556008)(8676002)(54906003)(86362001)(38100700002)(5660300002)(8936002)(38350700002)(4744005)(2906002)(316002)(110136005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?g1Xg/1BviJqM0NW/wLYlXaVbHYjb?= =?utf-8?q?/bGXFRMzJpT4yJNaTexlCp0tJOiY71JbnyhBGrMlwKjE7txQnxv/ioSNliykQWe9u?= =?utf-8?q?OZZMWgVAj5O6F+GxnZxQrxTu+JteF+bBgtZSKN4C2N6zADv214/67DO83aEWMnew/?= =?utf-8?q?mMiony2ic5bPswvfb259GpRen6clq0EdyDGTi02Qxb0zqsl+52afVGnDxv4SPNF7G?= =?utf-8?q?grXU4ZMeUfTtdcSAjl4bTVWzzeoz9oT2JiIXGcSmu/MOYqr803RX9QYzOfxrFhJDi?= =?utf-8?q?aRuEZ1w9v//ID4wh5BYUYM953KyMV91WDgmFBaBK7PuoDOhemzwN2JQBdKYQCRdrr?= =?utf-8?q?qp4kRHAkhPdeIw9huABbxokKtuCAgYXNN4MHP+VOs1pAVZrKT2SDfaFlFaD4w0WfH?= =?utf-8?q?1t1z2HPz/VLlGYjFpLba7frk+pkYJhRGFUqBetJsmiSyAaZVZtljV+3kTQdmFqqH8?= =?utf-8?q?B74l6HfWs7/wxoX+t3VjbXoE9kLAk75kz3cV071xmm0dbIro0qfA+c0qRRZO2UTTa?= =?utf-8?q?XNOzNaivbMyVPxjSsnzBMiV7NyDvhlF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zAi65b2lH8GNWEuqypOj46YNhnJeEr?= =?utf-8?q?RFg44w5vk2dATD7o47BZIQh7fVNPAGYZRQgRq/IFyw1/aDHumM8SmjGZ3F1EzknZ0?= =?utf-8?q?CyHfM+e5H9nvP1TRZHjj2QMmNDpDShu9B6+rK/PqytSI5WQf8KYt/cdTT6eO1Kbng?= =?utf-8?q?++XLP47cUO+vqDEYfWa54K1fQhsoboCZBvHhPsSIgh66diB3PhBq3IgekZsQrAJWS?= =?utf-8?q?qM+rkpzdEPzXDS67pTXAF2s7dNwiFIboS6HdeeujT09KyapBhsUWQfKHSrcE1TkJy?= =?utf-8?q?1KLxiampF?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: fbe2f045-1896-41f6-ede1-08da27098209 X-MS-Exchange-CrossTenant-AuthSource: DM5PR0102MB3590.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2022 22:18:21.7786 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: oFZCEcG1Atms31XCYR0Ui/uBAPReSu4PukRX+Yfa7GXuzdeevfXXJljuL4QyLkkqlpJHEc1aIa7f2BSazUPs3uKOJCTv19tBfDMQYW+n+t56KtmnLTjXNWjqizsa2u0J X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR0102MB3598 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220425_151829_395049_0782CC97 X-CRM114-Status: UNSURE ( 8.88 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org When building with W=1, we get the following warning: drivers/acpi/arm64/agdi.c:88:13: warning: no previous prototype for ‘acpi_agdi_init’ [-Wmissing-prototypes] void __init acpi_agdi_init(void) Include AGDI driver's header file to pull in the prototype definition for acpi_agdi_init() to get rid of the compiler warning Fixes: a2a591fb76e6 ("ACPI: AGDI: Add driver for Arm Generic Diagnostic Dump and Reset device") Reported-by: kernel test robot Signed-off-by: Ilkka Koskinen --- drivers/acpi/arm64/agdi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/arm64/agdi.c b/drivers/acpi/arm64/agdi.c index 4df337d545b7..cf31abd0ed1b 100644 --- a/drivers/acpi/arm64/agdi.c +++ b/drivers/acpi/arm64/agdi.c @@ -9,6 +9,7 @@ #define pr_fmt(fmt) "ACPI: AGDI: " fmt #include +#include #include #include #include