From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CFAC5C433DB for ; Tue, 26 Jan 2021 09:03:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 81F41230FC for ; Tue, 26 Jan 2021 09:03:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389074AbhAZJDe (ORCPT ); Tue, 26 Jan 2021 04:03:34 -0500 Received: from mail.kernel.org ([198.145.29.99]:33896 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730490AbhAYSrC (ORCPT ); Mon, 25 Jan 2021 13:47:02 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id E213822B3F; Mon, 25 Jan 2021 18:46:23 +0000 (UTC) Date: Mon, 25 Jan 2021 18:46:21 +0000 From: Catalin Marinas To: Arnd Bergmann Cc: Alexander Potapenko , Marco Elver , Will Deacon , Stephen Rothwell , Mike Rapoport , David Hildenbrand , Mark Rutland , Andrew Morton , Dmitry Vyukov , Jann Horn , Arnd Bergmann , kasan-dev@googlegroups.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: kfence: fix header inclusion Message-ID: <20210125184621.GA32727@gaia> References: <20210125125025.102381-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210125125025.102381-1-arnd@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 25, 2021 at 01:50:20PM +0100, Arnd Bergmann wrote: > 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. > > 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 (it should go via the mm tree with the other kfence patches)