Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp642875pxb; Mon, 25 Oct 2021 15:40:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwp9jIgO2YCCmec1+bjd4vYtLglAuLThHwWxgMTdvz0Ehicr8mRCyR7l3C/4MScIG0iiYsZ X-Received: by 2002:a63:b441:: with SMTP id n1mr15265505pgu.174.1635201653326; Mon, 25 Oct 2021 15:40:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635201653; cv=none; d=google.com; s=arc-20160816; b=iqEQZTEJHzhIzF9KhGlj1drOgUrsPjZ8lZu0bK+zMNX9PFF4dKlSfFFulAbrP7T1n7 HMGr8mm5tfwfTl2PGv+/Ht9WEVACqnI4WvrEAxTbeBs4DnaPmzztokWaaKHkqROZu54d BkdAqy4wj9lcYdxIr9a7XxVaOrQbL22+4SouhREKO7IadSSDtbg+NDAaOyOlFwGOGQgO wudgUVEul4AN8Hji3yZ2S/FxwnrS5tWRYD/8L/gQf0IPqzCwlXnsiUdkBmPrjZrUZ9fX vA3PbWgtEehHRqbWUClEcj9U4X+fXCHFyTmj8U8lffDaYVvz7FV5sgSI+gdj685/0ByI FGdw== 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=bko6uXfUKHhtZPcotPFwyyIPb/zbhu9c8rujjgKFxOQ=; b=DgpGN1k1V7Z0YVtKe/QE9BbupQaD6am3YaMBc9LFigL27Ddsi3p76NcQhDYFijIJ3K 6i1dvHXPoVcA9SOl+AkVib87gabE6YzMSR9QErIeocnKmu5u9ysH1acSe4hwNEbrYKfs UmaFlx/W6G3As/RRgPdQWQPxY6rnPo8XJTnq5qLRWn9N22BgilpblVCWmhO7Wi788iXc Uxp9v/4PpqZjzqTwJzP+usJAbZxh4SavfgaDvtjGxpmx9zey2aYN4Snwn7Oafh7BsJya pAurDkOP961/qz0HNtLZL5tzx1CLZYgj6Wf52/Rboop9JhOE4SeArPtOG7t19IbBtD5C WDGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=nxwETVCw; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w20si28634789pfu.128.2021.10.25.15.40.39; Mon, 25 Oct 2021 15:40:53 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=nxwETVCw; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235058AbhJYT0x (ORCPT + 99 others); Mon, 25 Oct 2021 15:26:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:39156 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235020AbhJYTZE (ORCPT ); Mon, 25 Oct 2021 15:25:04 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2A18860724; Mon, 25 Oct 2021 19:22:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1635189734; bh=0wFitQqf99HsEpCzMQH91BM2topCFOK6sfiIcLLqbFI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nxwETVCwgXow9aYYIbcMSdsQk2YrbRTbJXg0Nf3Joui6wlTASaiZa/82bTtDu0LFw cRzo9Wd+7AuW0/D0qOKvLz2BO15vU2O/x0LM4CFnDuGmlAINtfCQROxJ2q26L7iBBS PEPiAtDpSdckBkrCl+1pjcV0CJnviTsQeEYwNAqo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Lukas Bulwahn , Arnd Bergmann , Nathan Chancellor , Nick Desaulniers , Catalin Marinas , Barret Rhoden , Andrew Morton , Linus Torvalds Subject: [PATCH 4.14 13/30] elfcore: correct reference to CONFIG_UML Date: Mon, 25 Oct 2021 21:14:33 +0200 Message-Id: <20211025190926.144818719@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211025190922.089277904@linuxfoundation.org> References: <20211025190922.089277904@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lukas Bulwahn commit b0e901280d9860a0a35055f220e8e457f300f40a upstream. Commit 6e7b64b9dd6d ("elfcore: fix building with clang") introduces special handling for two architectures, ia64 and User Mode Linux. However, the wrong name, i.e., CONFIG_UM, for the intended Kconfig symbol for User-Mode Linux was used. Although the directory for User Mode Linux is ./arch/um; the Kconfig symbol for this architecture is called CONFIG_UML. Luckily, ./scripts/checkkconfigsymbols.py warns on non-existing configs: UM Referencing files: include/linux/elfcore.h Similar symbols: UML, NUMA Correct the name of the config to the intended one. [akpm@linux-foundation.org: fix um/x86_64, per Catalin] Link: https://lkml.kernel.org/r/20211006181119.2851441-1-catalin.marinas@arm.com Link: https://lkml.kernel.org/r/YV6pejGzLy5ppEpt@arm.com Link: https://lkml.kernel.org/r/20211006082209.417-1-lukas.bulwahn@gmail.com Fixes: 6e7b64b9dd6d ("elfcore: fix building with clang") Signed-off-by: Lukas Bulwahn Cc: Arnd Bergmann Cc: Nathan Chancellor Cc: Nick Desaulniers Cc: Catalin Marinas Cc: Barret Rhoden Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- include/linux/elfcore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/include/linux/elfcore.h +++ b/include/linux/elfcore.h @@ -58,7 +58,7 @@ static inline int elf_core_copy_task_xfp } #endif -#if defined(CONFIG_UM) || defined(CONFIG_IA64) +#if (defined(CONFIG_UML) && defined(CONFIG_X86_32)) || defined(CONFIG_IA64) /* * These functions parameterize elf_core_dump in fs/binfmt_elf.c to write out * extra segments containing the gate DSO contents. Dumping its