Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4242824pxb; Mon, 8 Feb 2021 11:16:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJwhIViTIRLwkuHwO+kfinvlr7DJb/SwqCjvGuhFtsrVFX6srjMGxoRaOKE7bcEvrAi/RF7B X-Received: by 2002:a17:906:bc99:: with SMTP id lv25mr18144821ejb.15.1612811759961; Mon, 08 Feb 2021 11:15:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612811759; cv=none; d=google.com; s=arc-20160816; b=fjSvYCZyagQmHmDwWJ+9FQ2m4s5Ev/Sj+rEZQmtRhbMUuGU0jciJHQUeIZkjg4zrg2 3pAeYnlnyySQsTTxXvvWoeVB9XsJq5DgvhngYPUFmXWgZuRQUJhBgxNcDQtNm98rx3mv qFXiM9UPBaiRz9s0xmbov+WODn2bYGhxSL9/PUUDgtFO1JzdSiZ1jeWvFl4Dq8oRMOAb 9taqbwiJTpjIPtL0q+MXQAI7yRkmexbsIcbhgxp9E3wrc7+KjxWvHRTL8np9kCUdlcUS o47cKt7sHv4XxjMwhjRcvNvW+BuD8dDZVupZL9rE27CZnGAxuG0zwyokA2Y6AaAuCtr0 g18Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=vidqzNM6LHEiqGq9XxJTqIlShemMdM/td8LbkD0squQ=; b=e8htAPA3av9q26a8pVipLzHeQx1ZZ3d5CTDugzmEr60MAtr5NEygm+KezvHHWC+c5O wbLcmFnTFsoV2wjvW2mPPsvzUcatjE7sebOOgwr+/T0dJ1lpsr5bFFnay33I6M6K2Yf2 UBcvQnOrsj+B+G3hqPd6m6rakBDBs1DWuyTqtfRkYSeH9SekumLVb/DM1vZV4wdkh2nM VzHjRUptGLMZg48LtS0d5LkzLT8X463GUXrHs7fMszNct1x3w/FNkzTccr/NlBeV/fv0 I2bXap//ewreE56F75B7/zAo7bbL97TGHks9C2bytsHSWDw2D5zgBJ4NNwc4Z7IeqfoT AdjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=o3Rxjl8u; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dp16si14290325ejc.564.2021.02.08.11.15.34; Mon, 08 Feb 2021 11:15:59 -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=@infradead.org header.s=casper.20170209 header.b=o3Rxjl8u; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236088AbhBHTMs (ORCPT + 99 others); Mon, 8 Feb 2021 14:12:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235036AbhBHRvz (ORCPT ); Mon, 8 Feb 2021 12:51:55 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B949BC061786 for ; Mon, 8 Feb 2021 09:43:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=vidqzNM6LHEiqGq9XxJTqIlShemMdM/td8LbkD0squQ=; b=o3Rxjl8uLD5Ssq9HUJ1Ldk46z+ Ibl1ha9MY0lkcu5GprUICsUhf1BLawHBBWPzD6sfK9euURgJryG0qC6ad4PJtzDKG6F/Xkhnt4MmD 4GBNZiBoMyhvVify8XdY7CJWPw1vWBLbcw8RHtQPDY5hhf3lGwfz78ZVHj81rPPauggRvXealH/Nm W5jPqOmrcUL4opUFK4/CxrNPmCVHxL1uWzySJ7n3OhJX0oFnSejzAr40xzx5/ejuqIaTHqR0QO3Li hl2MMCKZlzyDJE4vf+5SDtcvIIov9d3r8pgQerVtYkKqv9Guzbxoa3+k/qY76d/kkgtaW141Th+Sq l3rXWbPw==; Received: from hch by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1l9AYh-006IPI-NU; Mon, 08 Feb 2021 17:42:48 +0000 Date: Mon, 8 Feb 2021 17:42:47 +0000 From: Christoph Hellwig To: Andrey Konovalov Cc: Andrew Morton , Catalin Marinas , Vincenzo Frascino , Dmitry Vyukov , Alexander Potapenko , Marco Elver , Will Deacon , Andrey Ryabinin , Peter Collingbourne , Evgenii Stepanov , Branislav Rankov , Kevin Brodsky , kasan-dev@googlegroups.com, linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 12/12] arm64: kasan: export MTE symbols for KASAN tests Message-ID: <20210208174247.GA1500382@infradead.org> References: <068ab897dc5e73d4a8d7c919b84339216c2f99da.1612538932.git.andreyknvl@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <068ab897dc5e73d4a8d7c919b84339216c2f99da.1612538932.git.andreyknvl@google.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 05, 2021 at 04:39:13PM +0100, Andrey Konovalov wrote: > Export mte_enable_kernel_sync() and mte_set_report_once() to fix: > > ERROR: modpost: "mte_enable_kernel_sync" [lib/test_kasan.ko] undefined! > ERROR: modpost: "mte_set_report_once" [lib/test_kasan.ko] undefined! Please put this under an ifdef for the testing option that pull the symbols in.