Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6412376yba; Thu, 11 Apr 2019 20:02:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqwcHaC896wZuIxH9V4bXIIXustca+UxGBSXO0LsO/I0d6NFFB9NG2oZY3zS4DZJtXCHOmon X-Received: by 2002:a62:1c07:: with SMTP id c7mr53820085pfc.159.1555038137225; Thu, 11 Apr 2019 20:02:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555038137; cv=none; d=google.com; s=arc-20160816; b=y9vOnoVgtH88/nOxTjGf9Da+ww9DN1YatVaUAMg7NqJ+0d+3WPdvQY9/CgpKeC68EK pamm6rjITI3WmHKVIRjIMjpIfGPRkIUT4Gvc63tpN4kVGCWRgjpUIoPRxgCcueq8z+4d zValO4428PvRGsFBUv6Uv8QUtbUzIH60Hg1ju36jyKYyo0/xXQlGfzI2PkLkuaSvPFRX MZ+TtqrCemsXjyr7nasqQXTv3zUSgTsA/JAGVIa+eSWB/IECy8KOisKse84qoR0gosJe +oaivlQFK7JXsVc2Dql0WtqSDAMjnkftQO5qjAoyr8J7ls+eBJhF8ms39+QWfcmnONCD ePPQ== 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=cq+cX9/fplU1hNZEQojDHlITnDrdh920KbK5qA54MxU=; b=jRBY3/dDdWIzSb2LhYk59Ijb6bkHwaYtD7S3hDaANGqyoMGLZMD6rSh/KMT2LcUtnS 3VhJmopR0dS90/sWLcZSyOML/4+LHpUhepQZmnhyI5RGHUc3628/aY/+ISAqxQSy5koJ JFGDALr93/HbLNgCOf1jQU8BEARv8N03oImBDpuWy/siZmcLitsgw1E0UIXzMxJoV3dR 6IHU4p3tvyr0mg1ug8U3s2M+KdYDoFKhufwitr9KdWKBpcggA2dPJAJRlfvy6FhH56dp sNymN97FpTZPQNa1/QLf3tHAIp6BTRn2VPiaPkIR1gr6kKU62d4fqnGOmLbZ9sQ191CG nBvg== 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 h26si35629396pgl.21.2019.04.11.20.01.59; Thu, 11 Apr 2019 20:02:17 -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 S1726757AbfDLDBY (ORCPT + 99 others); Thu, 11 Apr 2019 23:01:24 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:39943 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726697AbfDLDBY (ORCPT ); Thu, 11 Apr 2019 23:01:24 -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 C44CDE0004; Fri, 12 Apr 2019 03:01:14 +0000 (UTC) Date: Thu, 11 Apr 2019 20:01:12 -0700 From: Josh Triplett To: Sinan Kaya Cc: linux-kernel@vger.kernel.org, keescook@chromium.org, Andrew Morton , Masahiro Yamada , Petr Mladek , Andy Shevchenko , Matthew Wilcox , Joe Lawrence , Mikulas Patocka , Robin Murphy , Tetsuo Handa , Sri Krishna chowdary , Changbin Du Subject: Re: [PATCH v4 1/5] init: Introduce DEBUG_MISC option Message-ID: <20190412030111.GA1577@localhost> References: <20190412014355.25307-1-okaya@kernel.org> <20190412014355.25307-2-okaya@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190412014355.25307-2-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:51AM +0000, Sinan Kaya wrote: > Introduce 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". > > Signed-off-by: Sinan Kaya Minor typo below; with that: Reviewed-by: Josh Triplett And thank you! > --- > lib/Kconfig.debug | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > index 0d9e81779e37..2f80ebaa6d9a 100644 > --- a/lib/Kconfig.debug > +++ b/lib/Kconfig.debug > @@ -438,6 +438,15 @@ config DEBUG_KERNEL > Say Y here if you are developing drivers or trying to debug and > identify kernel problems. > > +config DEBUG_MISC > + bool "Miscellaneous debug code" > + default DEBUG_KERNEL > + depends on DEBUG_KERNEL > + help > + Say Y here if you need to enable Miscellaneous debug code that should Nit: s/Miscellaneous/miscellaneous/ > + be under a more specific debug option but isn't. > + > + > menu "Memory Debugging" > > source "mm/Kconfig.debug" > -- > 2.21.0 >