Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1251670imw; Tue, 5 Jul 2022 06:27:31 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vbeEBIxVKLRSn6ZxkM0A5rEUAImFdJN/yu4IkPeAvtoZF3Ro1YoV96+GBSXKQPSCvRyZet X-Received: by 2002:a17:906:14d:b0:711:ff36:b1af with SMTP id 13-20020a170906014d00b00711ff36b1afmr33497028ejh.422.1657027651420; Tue, 05 Jul 2022 06:27:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657027651; cv=none; d=google.com; s=arc-20160816; b=wtDJhnOBgumeqp0VTQPYDj6tIwQrwQfJRx7OdMVkr1lQFyGNJnpJlQb+j5QM0tmtd3 LoDbAvVtGRpisbDHvXcZPzLQQ/wmLVW5UGulFcXGFvBuV/C32ASQJjapy7hB06k1yfsF 74v0xJTbAskqrrq63oMV10FSVw+gXXaTb+gW7Nk8ZFuaiuEROayCDVgtfzdYcI+dUq/0 ozfuj0jsbc8LNhEuiyIvhHavVLbmjZewk79MW4zA+Hqc2rhTf4IC2rWPg+7+fB/yiANV pRITyZD2vwcRFbzEa/jEK4tghnzhG/2stnGoScYtUVxIoKFCVBefQTtPPId5UUcCHQdJ SBeQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=My7CkSjnDYmWZwTHSohe/AUKjmKu4ex3QTH7yX/I1nM=; b=PmWVdyI/QhhUkm2wUegI0pQt5UQnazT6eGk3Ea3qJYY0UATZeKHY57PFKc5W8oopx8 oWikBNB1Y2pZqDlJis6o4S3tWiAM4fGzeYXHBqXEZp2gTrdNyBx6NZ08edAM6yeTwwX6 ngReqViXXSMFnMXkGjxo31p1BRnMlqDA9UbfpJuuLjbN+sX9HtOeyTo0mILgij/0X5hz ZVRfT9fjPTW0P5GPbfSLsfAp7ahTQQSF10rUG1MzCkvzFC+jyZ9IXI3cRwHOnx3ovi94 F+dLFmNCmS795QxUsn49+mohAg+EpCFLT4cTazremHz8uA9oK9XiAUOFm/YUqgbTyq0r EcyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=J+D8xuC9; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m3-20020a056402430300b00435badb95c8si27165102edc.17.2022.07.05.06.27.06; Tue, 05 Jul 2022 06:27:31 -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=@linuxfoundation.org header.s=korg header.b=J+D8xuC9; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234388AbiGEMJZ (ORCPT + 99 others); Tue, 5 Jul 2022 08:09:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233877AbiGEME6 (ORCPT ); Tue, 5 Jul 2022 08:04:58 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 455661582A; Tue, 5 Jul 2022 05:04:33 -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 ams.source.kernel.org (Postfix) with ESMTPS id D5ABEB817D6; Tue, 5 Jul 2022 12:04:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B500C341C7; Tue, 5 Jul 2022 12:04:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1657022670; bh=pUFp6/3scQrGuJuRmoh62gE3QtAdFwZDYcYQtMCktuE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J+D8xuC9pjpCNOL8+Y6lW4FaadM4SgEwJOGrEHFd/oXe+ElEhoXB95BuuXF6rq+re m/6AiYu5og/KsBbw+0i4jDPLL8rOL3s31NbZQXP44vVYRxtQvAdmf8uo8fFdUlXbQJ ge2RoCI9A8fs3BRPuaaPsFB9uAMWY17Cj9+nzefg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Liam R. Howlett" , Michael Ellerman Subject: [PATCH 5.4 03/58] powerpc/prom_init: Fix kernel config grep Date: Tue, 5 Jul 2022 13:57:39 +0200 Message-Id: <20220705115610.340855622@linuxfoundation.org> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220705115610.236040773@linuxfoundation.org> References: <20220705115610.236040773@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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: Liam Howlett commit 6886da5f49e6d86aad76807a93f3eef5e4f01b10 upstream. When searching for config options, use the KCONFIG_CONFIG shell variable so that builds using non-standard config locations work. Fixes: 26deb04342e3 ("powerpc: prepare string/mem functions for KASAN") Cc: stable@vger.kernel.org # v5.2+ Signed-off-by: Liam R. Howlett Signed-off-by: Michael Ellerman Link: https://lore.kernel.org/r/20220624011745.4060795-1-Liam.Howlett@oracle.com Signed-off-by: Greg Kroah-Hartman --- arch/powerpc/kernel/prom_init_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/powerpc/kernel/prom_init_check.sh +++ b/arch/powerpc/kernel/prom_init_check.sh @@ -13,7 +13,7 @@ # If you really need to reference something from prom_init.o add # it to the list below: -grep "^CONFIG_KASAN=y$" .config >/dev/null +grep "^CONFIG_KASAN=y$" ${KCONFIG_CONFIG} >/dev/null if [ $? -eq 0 ] then MEM_FUNCS="__memcpy __memset"