From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kees Cook Subject: Re: [PATCH] treewide: defconfig: address renamed CONFIG_DEBUG_INFO=y Date: Thu, 11 Aug 2022 08:29:39 -0700 Message-ID: <202208110829.F82D003490@keescook> References: <20220811114609.2097335-1-arnd@kernel.org> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=k4cTJcWzw8+6axf00iGx7biHKXUEGT3Ofca07ePg5B0=; b=e8WRD+IbMXLxt0XX5XAhvJBvN5jLNJ8ZUx93+YW8cz7r7GCpyryYTdJ+UJNUPY223r zzoPmw6xUn3VMbJuI2F2ZSeOhIbrKmiX3G9mhH6iyovCbNm2Puhe2oTBwUlY5OL7qfj2 sQGEp1yOeNmSmYqyuuyL7LSmz37k/frFxM+oU= Content-Disposition: inline In-Reply-To: <20220811114609.2097335-1-arnd@kernel.org> List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Arnd Bergmann Cc: Richard Henderson , Ivan Kokshaysky , Matt Turner , Vineet Gupta , Michal Simek , Thomas Bogendoerfer , Dinh Nguyen , Yoshinori Sato , Rich Felker , Richard Weinberger , Anton Ivanov , Johannes Berg , Chris Zankel , Max Filippov , Andrew Morton , Arnd Bergmann , linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-mips@vger.kernel.org, linux-sh@vger.kernel.org On Thu, Aug 11, 2022 at 01:44:34PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > CONFIG_DEBUG_INFO is now implicitly selected if one picks one of the > explicit options that could be DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT, > DEBUG_INFO_DWARF4, DEBUG_INFO_DWARF5. > > This was actually not what I had in mind when I suggested making > it a 'choice' statement, but it's too late to change again now, > and the Kconfig logic is more sensible in the new form. > > Change any defconfig file that had CONFIG_DEBUG_INFO enabled > but did not pick DWARF4 or DWARF5 explicitly to now pick the toolchain > default. > > Fixes: f9b3cd245784 ("Kconfig.debug: make DEBUG_INFO selectable from a choice") > Signed-off-by: Arnd Bergmann Thanks! Reviewed-by: Kees Cook -- Kees Cook