Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp912858rwd; Tue, 16 May 2023 09:10:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ76/rtphlQ2shsW3zRtJCkirH2SIhKTaewDL9fLKCgawvDM1GxlvsZCQ7YgSiuprRm7dCIB X-Received: by 2002:a05:6870:a403:b0:196:27ad:510c with SMTP id m3-20020a056870a40300b0019627ad510cmr15000565oal.41.1684253429789; Tue, 16 May 2023 09:10:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684253429; cv=none; d=google.com; s=arc-20160816; b=YdS769sPZwTyk5acO+nYVuiO7m3wkE1gAi/Sp8FlNExziD4/eWPqb/Z5TjmOO6oL+4 mnoRofqZoZ9yMFbie2zAwWM60qUtjljvFBwQlbYXbwpEePJOAYHwH9FaWm+9Lvfg7IID NgxyIAyIOm2gIW7zgHedjrlgx54LOPzZYco/NmWwB9zyeJ4wG38HA997NuRBjMoIsjvf Lyc5sSR6jSz2DOcWs3hKrkvfJq/Ipk3tggYaBnS0HEQ24xMP5k3oKg6W7cmPYbFRaYee OcUAtz5vfgOqtyWnJHvMpPg6Y4Qjs0W0FJ6a9CaOQWn0Qv8xb9ikom2Ds+VOTpLLxz4K AARw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qOJz4bysmoXbtpiQoioVfn7tav6GRTX126A8DmaTyWQ=; b=1KSOPCrrxzQdkdBLqnKc1y5W1H20EG+6gLQ7vWgbZ7/l4QALuf0XbzksfGSUVIxhUU 3vG/le9m9TGDkFmLNSE2Ej44ks4eOo7tW9O/OWDHDsOLXTW30LCX0y9bXMXZhAgbpHa3 TiKB4o76p7olSoaDEKfVOLRBBM/pmi2LJTGlfuOXDC0znrs2kO52BzatCJkWJVr3HEXX +gEpJDNk8V+WXHOT+predyWzRu6XvNRGjQ/YPoG67S4h7dvKeqr1UaGXc5fKQkLUlogy ilESLEJ/zGsDLdajLTWb7KRXpbJ2XJml8N5AmEDBVc+/tiSVAp3mEfa8zce3cnsUf358 0Csw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PSLAJY0X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c17-20020a056870b29100b001965ad4d990si10047328oao.179.2023.05.16.09.10.16; Tue, 16 May 2023 09:10:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PSLAJY0X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234516AbjEPQIX (ORCPT + 99 others); Tue, 16 May 2023 12:08:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234491AbjEPQIH (ORCPT ); Tue, 16 May 2023 12:08:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D55E7D81; Tue, 16 May 2023 09:07: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 dfw.source.kernel.org (Postfix) with ESMTPS id 8829963982; Tue, 16 May 2023 16:07:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 642E1C433A4; Tue, 16 May 2023 16:07:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684253261; bh=lwbLM2icgKpKkO4IGpq+gV4Vi+dLkvFByZ0s3dmZn0k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PSLAJY0XnTiAmwVYnoGliY56cU9hQUxkW1tpiwPg1o/KG+Ngq2c5opKIk1AwXn5PO EXSt3oKxIS11dOgqD63RM5eXBSolsLG5TMso+ML8PCd8Z9uSVUiU1Ps/wdCZ8859ed ffqli+mKUmIU6urapJTAphhh9cf3uNVLRrBBszc44njQamfjh1yy2pctXivlpTKAtC 1GqekmzV0bvS1EIYVM/xbwu79KXIbE11b533TA9NecaXU2zBP5o3CuozK/GfVXtKFq MgjQSifqruIhKMqr8Bf7VrhZwb7kaOv01ziNOGBOopYI0Pi2IRHL87S9jRlBHN5lry zQCSON3Js6jiA== From: Arnd Bergmann To: Catalin Marinas , Will Deacon Cc: Arnd Bergmann , Ard Biesheuvel , Mark Rutland , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , Anshuman Khandual , Kees Cook , Suren Baghdasaryan , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, kvmarm@lists.linux.dev Subject: [PATCH 11/15] arm64: flush: include linux/libnvdimm.h Date: Tue, 16 May 2023 18:06:38 +0200 Message-Id: <20230516160642.523862-12-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230516160642.523862-1-arnd@kernel.org> References: <20230516160642.523862-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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: Arnd Bergmann The two cache management functions are declared in libnvdimm.h but provided by architecture specific code. Without including the header, this causes a W=1 warning: arch/arm64/mm/flush.c:96:6: error: no previous prototype for 'arch_wb_cache_pmem' [-Werror=missing-prototypes] arch/arm64/mm/flush.c:104:6: error: no previous prototype for 'arch_invalidate_pmem' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann --- arch/arm64/mm/flush.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/mm/flush.c b/arch/arm64/mm/flush.c index 5f9379b3c8c8..4e6476094952 100644 --- a/arch/arm64/mm/flush.c +++ b/arch/arm64/mm/flush.c @@ -8,6 +8,7 @@ #include #include +#include #include #include -- 2.39.2