Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2253795iof; Wed, 8 Jun 2022 00:35:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy77Ob3iy7MQEvaiw/dUCZS2B7XeWwHnTg8TZlpAdZYyI5RjBYrU5/f5Oe/js/d6RKASpMq X-Received: by 2002:a17:902:f789:b0:14e:ebbc:264b with SMTP id q9-20020a170902f78900b0014eebbc264bmr31892865pln.169.1654673705727; Wed, 08 Jun 2022 00:35:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654673705; cv=none; d=google.com; s=arc-20160816; b=q63RoVHy4MsNlkH7mcpOCvsA6YT9songr3rMdbUnodESN5fFjNFpEA0Gh3ef+z2v6E Ivdb4VLyzjD/USXMeSkOrIC7lpR4WZ97+Ea1OqbsWLya2D7BbVDYP+Gcn/djstmw3xwA HVhkgGKqQ4hnFWR5XkvncscKX0BR0mu8Vunxi7NakffVwpVERTDoorLnH9q5Wb2SeFP8 ZH0P+lpdZBztXltsb2OQUImdRuQY+gnIQdKbfPBVcPsXkLb2SOLDi4fuGlSlSx4xjYKG Z1SOIaMXUBjOI2tMW7eLhvxa3uWVaDX7fiTYb52IK0h7cTOqjx1jjBTmgtkC2i0XUAwU 4Txg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=o5FtHbMzR3hUSN4r+84ztCeZUvdWaPZdB+/yIKt+6xY=; b=DrruFMR6+R0ny3rhKDCbIb4OqcSMWkoDk6XmALNC2OEQNSanNazI/whUeZZgbrIbDx wHjxLe9gJqv7w8ZdqtGLby5fqgEcZABYpmSho04tZVvIE5SNX4cCU/Z8If9qYES6Xoc7 lw/GcRmYEUV46o/x060f1TliuFBr01teRQIg53UPmTpDCt/7rYkoAaiGfqjejdsa2Dyg BcJ1FaDbxrkzPZkNPED07VPnabu32ExWgezWrUQe2GtN8ODpIzAxOrBj81Yll8Zi6OyV G7f/qHnpOTrwRGWmoV8CoYAopPO19WBWGKhXhjLXwhy8AUPKcXAprajKi+xTbWEUIFY6 0+Lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=be3jRuZu; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id u5-20020a170902e80500b001619aaf38casi29720404plg.63.2022.06.08.00.35.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 00:35:05 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=be3jRuZu; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C05CA23095C; Wed, 8 Jun 2022 00:07:14 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1383019AbiFGWoF (ORCPT + 99 others); Tue, 7 Jun 2022 18:44:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380955AbiFGVb3 (ORCPT ); Tue, 7 Jun 2022 17:31:29 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C42C22C47B; Tue, 7 Jun 2022 12:03:42 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 441B6B8220B; Tue, 7 Jun 2022 19:03:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84085C385A2; Tue, 7 Jun 2022 19:03:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654628620; bh=zvkWQXaxftvOIUbrHG5XsPOlAGPZGXkzs+x/ENuSNts=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=be3jRuZuvF8dvYYaB3yifgK560hvfV4wgQjxkiYEQF1ZPEfELljvYCriyPj4CcVBB RzNmMEr9KOZh3rpGBOMdmA5dS4s/GWir4MEyge8bFMxoZiqYAyc3DHixkg3B6010HT uot4Nn9nvYi2FGJ6zuttr+YSzDqtCXRIYeQP7YaU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Ilkka Koskinen , "Rafael J. Wysocki" , Sasha Levin Subject: [PATCH 5.18 395/879] ACPI: AGDI: Fix missing prototype warning for acpi_agdi_init() Date: Tue, 7 Jun 2022 18:58:33 +0200 Message-Id: <20220607165014.329272037@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ilkka Koskinen [ Upstream commit 988d7a14408db4183202f16bb02b8149b9da3727 ] 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 Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- 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 -- 2.35.1