Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp985999pxb; Sun, 11 Apr 2021 03:58:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtRJJXdwacdHScmqcs3IH2N85JRahkD44SUIMcofejsVKyix3sJHn5J9yC6zEYbuPSkmtn X-Received: by 2002:a17:902:c1c1:b029:ea:e47d:bbaf with SMTP id c1-20020a170902c1c1b02900eae47dbbafmr1900489plc.34.1618138721036; Sun, 11 Apr 2021 03:58:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618138721; cv=none; d=google.com; s=arc-20160816; b=uoI1GttOFuEdiBaMsAvukyaX7mJddZNJYz51xOAWmdPgWcNUImGPJatdM2pisLGrgy dgOqr9Lbb8PGa9qjvUcCe1B40+Zt2if3VR6Nke8iLHXFPDVXP+NwMIql5NEhpoPiFndx elnd/3bTjj/v1WzeqhIVA7gBk4Dbq9gdiTG7Mx/pmDAxnnDz9UU4bsf1h03QuGK9spTD szaf6zft7ARmVO12mbyLuYt8TppBOlMQDX0JTl57CWq4yWadxXpk+fO/ahfPIC3YuOL2 Ynbgdz75pC3A9VA8VPx+3qcwjcCibfSCfiifEDSi2paSbVXs3YnfHLllhWZwcgTJOsYU 8a8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=4qNsrz6hVkBjp+T7AuqMxu3ZMoE0rcJnMKd3SW8mn9w=; b=Uye4E6ycBFcQ4CVuXJ4RNSyQybS0vGMcwN/eiHjbnCnX1GIvZmBzDPJf8GXJdsbUhv gQeyzUYZZ8xdj5GkGXXTZXMo/EgYa3PW/pE+4H+z37wkuaK0Vq+ayX3bNxsS+KQHIAYE ItnRxg+5RgmUIAoNULsag5Znh4Z9XPEsyGymRecAh5sz4b5NKzwgs4qsKj6MucHnUjZJ JnfJoU+SaAHv5uR5tMeyFpH5EHGwD6R35TMRQgYFuZLlRUZN0ElRlXDQcf7UWq8WeICp Ocei9YJaGeTJjESoLfB5AV6AW9b9HUr8VnP7a5PMjxh72s6C/0y+BQRMCmhZo9Gz9+ln CHtQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v10si10597248pgf.135.2021.04.11.03.58.04; Sun, 11 Apr 2021 03:58:41 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235239AbhDKKxy (ORCPT + 99 others); Sun, 11 Apr 2021 06:53:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:51712 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235214AbhDKKxy (ORCPT ); Sun, 11 Apr 2021 06:53:54 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 05C5C60241; Sun, 11 Apr 2021 10:53:35 +0000 (UTC) Date: Sun, 11 Apr 2021 11:53:33 +0100 From: Catalin Marinas To: Andrew Morton Cc: Andrey Konovalov , Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Nathan Chancellor , Arnd Bergmann , kasan-dev , Linux Memory Management List , LKML , Linux ARM , wsd_upstream , "moderated list:ARM/Mediatek SoC..." , Walter Wu Subject: Re: [PATCH v4] kasan: remove redundant config option Message-ID: <20210411105332.GA23778@arm.com> References: <20210226012531.29231-1-walter-zh.wu@mediatek.com> <20210330223637.f3c73a78c64587e615d26766@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210330223637.f3c73a78c64587e615d26766@linux-foundation.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andrew, On Tue, Mar 30, 2021 at 10:36:37PM -0700, Andrew Morton wrote: > On Mon, 29 Mar 2021 16:54:26 +0200 Andrey Konovalov wrote: > > Looks like my patch "kasan: fix KASAN_STACK dependency for HW_TAGS" > > that was merged into 5.12-rc causes a build time warning: > > > > include/linux/kasan.h:333:30: warning: 'CONFIG_KASAN_STACK' is not > > defined, evaluates to 0 [-Wundef] > > #if defined(CONFIG_KASAN) && CONFIG_KASAN_STACK > > > > The fix for it would either be reverting the patch (which would leave > > the initial issue unfixed) or applying this "kasan: remove redundant > > config option" patch. > > > > Would it be possible to send this patch (with the fix-up you have in > > mm) for the next 5.12-rc? > > > > Here are the required tags: > > > > Fixes: d9b571c885a8 ("kasan: fix KASAN_STACK dependency for HW_TAGS") > > Cc: stable@vger.kernel.org > > Got it, thanks. I updated the changelog to mention the warning fix and > moved these ahead for a -rc merge. Is there a chance this patch makes it into 5.12? I still get the warning with the latest Linus' tree (v5.12-rc6-408-g52e44129fba5) when enabling KASAN_HW_TAGS. Thanks. -- Catalin