Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3834373pxb; Mon, 8 Feb 2021 01:01:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJyF3/R9p+/U2wj7jxVx+bIO41FWEAHBg6e344WjX0pU2+6wx/mpoIKV9treuEvmUqYKZf7p X-Received: by 2002:a17:906:fc4:: with SMTP id c4mr16313114ejk.143.1612774895386; Mon, 08 Feb 2021 01:01:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612774895; cv=none; d=google.com; s=arc-20160816; b=0ScVoXhNkM3azSzBYHRohOd8/eXk1UcjIhdjS1xF++VRBNdazuWgd5PvJCQ/ZCsnsw SpcGHjaPZ9y1R3Zo5wyoC880z+AUDNtPOu16k4yBGsX5ngKP1mNRsxns/2jHo5394Iy7 xF/SZoMq3JdgSbANXU0K0p7wsk1vwBdZXIqlahud10uFS8FRxJcW8bpQDOoq+yw+Nqdj o4oUw9E/4x4j6/DFit2yNCyMyFkdRPD1vg3Xyk0cMoX/dGmAIDEziu2AavP6eYa0Mv60 UmEmpRQHhXCAJTpU5Id2MAqtYDcHdo9kOsvqIfrqBVoglLmgFk9Y+yAnRBiO8Dfes43a WAHg== 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=OdeVy9CoogaCtqxlH29VMW3ed9bLMcvDfozs8FiDUH8=; b=Lps6eVmMI6K03cOKnznuLNXMh4YRFmnyeF5NSPKe60APWjRnosXh42BFIkpZKgt77j uzS7Uo0vPZupx63zTwFhnFAK4SM7ChvasG59YkKo8yy/+to3dSJv8tmin/dYaazmyznR GUrOQ8r0D3soH8FUW8BOxXoE0UhuSJc7+VEHaPYSdETXO2uN1x9AV1AET0YQutMX38HY /vRfpZciwnG1nPhrLpIANYnB7lT+Z4t9NEmXLEuhnhIfngh5QFFFuEdpS6wgaES2zrGN ooVXIgy157SvE7DgWVm8q093/y/bEeu6YtutUlA5WTujyykx8rlab5LaeBX6zQAPiTNd ERrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TpYPGmCj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e18si11147225eds.369.2021.02.08.01.01.12; Mon, 08 Feb 2021 01:01:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TpYPGmCj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230348AbhBHI7Z (ORCPT + 99 others); Mon, 8 Feb 2021 03:59:25 -0500 Received: from mail.kernel.org ([198.145.29.99]:43338 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230012AbhBHIwc (ORCPT ); Mon, 8 Feb 2021 03:52:32 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3831364E92; Mon, 8 Feb 2021 08:50:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612774247; bh=XFR7qlL7+pkOKnccs9pAjAfcgzqh5naLhoZXuUY1qdY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TpYPGmCjxHaJQ/xRjVDBFNaabGX7SfniSNpizVfPWQqvRJrWDl186kwV1DSYQHhr9 OgIW5BKOXbfsGqZxb2hzjyzRhDHDnwOa4fZgo3NG83Ap866Pk9FyUKP52pJS7Gf7vd gT3GpIUspHtBOoHDk+uUbO2o3jReEMN8bSIEzkNeYAmgmta7vDfGLQcSmS8+sLhW8f qZmes4wFBQmxgnF1WvDrDvZiaD++1Sn8BPGFZtca610Rn1sBihsdvCdYNHnITb/7pO lzz+MW+aByZHL5edu47l8nLT5ZD2/pvhNQqRtUq7BtefEBmwMTJBYftriq/VMujEfK jvK/EiewXBaYA== From: Mike Rapoport To: Andrew Morton Cc: Alexander Viro , Andy Lutomirski , Arnd Bergmann , Borislav Petkov , Catalin Marinas , Christopher Lameter , Dan Williams , Dave Hansen , David Hildenbrand , Elena Reshetova , "H. Peter Anvin" , Ingo Molnar , James Bottomley , "Kirill A. Shutemov" , Matthew Wilcox , Mark Rutland , Michal Hocko , Mike Rapoport , Mike Rapoport , Michael Kerrisk , Palmer Dabbelt , Paul Walmsley , Peter Zijlstra , Rick Edgecombe , Roman Gushchin , Shakeel Butt , Shuah Khan , Thomas Gleixner , Tycho Andersen , Will Deacon , linux-api@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-nvdimm@lists.01.org, linux-riscv@lists.infradead.org, x86@kernel.org, Marco Elver , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov Subject: [PATCH v17 06/10] arm64: kfence: fix header inclusion Date: Mon, 8 Feb 2021 10:49:16 +0200 Message-Id: <20210208084920.2884-7-rppt@kernel.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20210208084920.2884-1-rppt@kernel.org> References: <20210208084920.2884-1-rppt@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann Randconfig builds started warning about a missing function declaration after set_memory_valid() is moved to a new file: In file included from mm/kfence/core.c:26: arch/arm64/include/asm/kfence.h:17:2: error: implicit declaration of function 'set_memory_valid' [-Werror,-Wimplicit-function-declaration] Include the correct header again. Link: https://lkml.kernel.org/r/20210125125025.102381-1-arnd@kernel.org Fixes: 9e18ec3cfabd ("set_memory: allow querying whether set_direct_map_*() is actually enabled") Fixes: 204555ff8bd6 ("arm64, kfence: enable KFENCE for ARM64") Signed-off-by: Arnd Bergmann Acked-by: Catalin Marinas Cc: Marco Elver Cc: Alexander Potapenko Cc: Andrey Konovalov Cc: Dmitry Vyukov Cc: Mike Rapoport Signed-off-by: Andrew Morton --- arch/arm64/include/asm/kfence.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/kfence.h b/arch/arm64/include/asm/kfence.h index d061176d57ea..aa855c6a0ae6 100644 --- a/arch/arm64/include/asm/kfence.h +++ b/arch/arm64/include/asm/kfence.h @@ -8,7 +8,7 @@ #ifndef __ASM_KFENCE_H #define __ASM_KFENCE_H -#include +#include static inline bool arch_kfence_init_pool(void) { return true; } -- 2.28.0