Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6413347yba; Thu, 11 Apr 2019 20:03:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqw1lLVanuGoxAM87D57ZMbNSLiP97RTfJVWCojOy4ME6jQMOKSR337JzRwL7KYBTjdpQ1a+ X-Received: by 2002:a63:330e:: with SMTP id z14mr49600463pgz.4.1555038219084; Thu, 11 Apr 2019 20:03:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555038219; cv=none; d=google.com; s=arc-20160816; b=F+PgmlWJ6IV0ST6fyYGfOumfuJPLEVFCm9kq1b2n2V7TvDXlppeg5IUYlqFUYIjvyj pQVuPdOk/8tce/LTHGqTRSDroQm3eLOAACcBXnn439WziMHe1HB0+j6R03PhQrT0nGpN sAAH2LpNrxxSlitoV8kCiqz3AeuASETqDgrudCwoxmP/SjKNQhf5i1G8cP96vFvcpJif n8XvnGfU629pBxa6mAqAVKxFslDGL8RUKKkepPcxikflaZcUHB1amUT6VAHGPp9Y3fCe mi2MtZVGlM4IirRnRIAl3pF/52oMFoYpoYRh9BzIuSDyTX+DZWjnFKQxNwIhySMzQQTd 9qxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=tEYcZc8u9BoluKxfTB9rHPLs2ZVfkGhrCEwGJFZWmIg=; b=pMtHka1mJbtF/Ryl1qU3TsB8/EP2C/TJOyMcfrHgePar7ACfjI0U/FDkt3SqXkW8g9 ZMQS8lueSRuYIKtZMeuKV/PdjVo3uPsmoS1OVBo6l4wDRr2Wdpz3Qa6zHfa//hN034pc tKdheFOISXk8k+DbQDRMpOsbX866Ch5ZvBv/pZcGXSB7Xe46rElilT6O62VbBMLLcEkY iIA5oOAioQKphPcRK3GYh0y235Xg6OpynYFDMK/CPQCiZbdvvFNU0IUbY/QO2ZyVVr3J 0oG4J1qx2uKQXazpinla2MMDjOO5CrsqA97vAlGl7FndsOrdlPK7h1K1VMPdUq2sRqz0 uwGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c10si35479073plo.216.2019.04.11.20.03.22; Thu, 11 Apr 2019 20:03:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726800AbfDLDCo (ORCPT + 99 others); Thu, 11 Apr 2019 23:02:44 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:49041 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726640AbfDLDCn (ORCPT ); Thu, 11 Apr 2019 23:02:43 -0400 X-Originating-IP: 50.39.168.148 Received: from localhost (50-39-168-148.bvtn.or.frontiernet.net [50.39.168.148]) (Authenticated sender: josh@joshtriplett.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id B9EB4E0004; Fri, 12 Apr 2019 03:02:40 +0000 (UTC) Date: Thu, 11 Apr 2019 20:02:38 -0700 From: Josh Triplett To: Sinan Kaya Cc: linux-kernel@vger.kernel.org, keescook@chromium.org Subject: Re: [PATCH v4 0/5] init: Do not select DEBUG_KERNEL by default Message-ID: <20190412030237.GB1577@localhost> References: <20190412014355.25307-1-okaya@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190412014355.25307-1-okaya@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 12, 2019 at 01:43:50AM +0000, Sinan Kaya wrote: > CONFIG_DEBUG_KERNEL has been designed to just enable Kconfig options. > Kernel code generatoin should not depend on CONFIG_DEBUG_KERNEL. > > Proposed alternative plan: let's add a new symbol, something like > DEBUG_MISC ("Miscellaneous debug code that should be under a more > specific debug option but isn't"), make it depend on DEBUG_KERNEL and be > "default DEBUG_KERNEL" but allow itself to be turned off, and then > mechanically change the small handful of "#ifdef CONFIG_DEBUG_KERNEL" to > "#ifdef CONFIG_DEBUG_MISC". > > Sinan Kaya (5): > init: Introduce DEBUG_MISC option > powerpc: Replace CONFIG_DEBUG_KERNEL with CONFIG_DEBUG_MISC > mips: Replace CONFIG_DEBUG_KERNEL with CONFIG_DEBUG_MISC > xtensa: Replace CONFIG_DEBUG_KERNEL with CONFIG_DEBUG_MISC > net: Replace CONFIG_DEBUG_KERNEL with CONFIG_DEBUG_MISC I noticed one minor typo in patch 1/5, with that fixed, for the whole series: Reviewed-by: Josh Triplett