From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40D243D6B for ; Wed, 16 Mar 2022 23:15:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB2A8C340F0; Wed, 16 Mar 2022 23:15:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1647472507; bh=GcbgBfbmdsgKzXYTotfD37FdjeSjVzjYMevfGpeN48U=; h=Date:To:From:In-Reply-To:Subject:From; b=UcxSdmHklPhA0lec5rKi8nepTAqNQalUOLmo21EJ1Z7EsJaiK+1JJ3ECBHpPOx3DS yKO+uEilLu/DQWXeH7NqbNoB3/ke/jA8H7RToPyV4OVEES+WYWGKnmBEKypZdeUrIC j8HpIDMVDDVXrwwuuyhLKeCYZQ46bCJWY07rRYN4= Date: Wed, 16 Mar 2022 16:15:06 -0700 To: keescook@chromium.org,daniel.thompson@linaro.org,quic_qiancai@quicinc.com,akpm@linux-foundation.org,patches@lists.linux.dev,linux-mm@kvack.org,mm-commits@vger.kernel.org,torvalds@linux-foundation.org,akpm@linux-foundation.org From: Andrew Morton In-Reply-To: <20220316161433.5c2e137a69eaee50d2249a27@linux-foundation.org> Subject: [patch 2/4] configs/debug: restore DEBUG_INFO=y for overriding Message-Id: <20220316231506.EB2A8C340F0@smtp.kernel.org> Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: From: Qian Cai Subject: configs/debug: restore DEBUG_INFO=y for overriding Previously, I failed to realize that Kees' patch [1] has not been merged into the mainline yet, and dropped DEBUG_INFO=y too eagerly from the mainline. As the results, "make debug.config" won't be able to flip DEBUG_INFO=n from the existing .config. This should close the gaps of a few weeks before Kees' patch is there, and work regardless of their merging status anyway. [1] https://lore.kernel.org/all/20220125075126.891825-1-keescook@chromium.org/ Link: https://lkml.kernel.org/r/20220308153524.8618-1-quic_qiancai@quicinc.com Signed-off-by: Qian Cai Reported-by: Daniel Thompson Reviewed-by: Daniel Thompson Cc: Kees Cook Signed-off-by: Andrew Morton --- kernel/configs/debug.config | 1 + 1 file changed, 1 insertion(+) --- a/kernel/configs/debug.config~configs-debug-restore-debug_info=y-for-overriding +++ a/kernel/configs/debug.config @@ -16,6 +16,7 @@ CONFIG_SYMBOLIC_ERRNAME=y # # Compile-time checks and compiler options # +CONFIG_DEBUG_INFO=y CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y CONFIG_DEBUG_SECTION_MISMATCH=y CONFIG_FRAME_WARN=2048 _