Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3152585imm; Sun, 29 Jul 2018 11:30:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf96lgNYUiMDZscMqycDF2yunnY5NO2CDlSCHsAFiD9MpUU/FDw/wL8LAudkl+dm7uwVh7n X-Received: by 2002:a63:3444:: with SMTP id b65-v6mr13428457pga.396.1532889007631; Sun, 29 Jul 2018 11:30:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532889007; cv=none; d=google.com; s=arc-20160816; b=FZrHmuKRMHZT1DliD3/TYWa4exhHk+ooY2lpGYeMQIsX8GHE98Q2nG0wg2zK3FIPwP f3IEpZG1KtC1liqgKbdjchnlp7xFiU7ZeNOX7JqHaOzIl+EsEiAbuaiCgBM7/wQHqT6Y mbMyefn+3azczJ84jGj+//iHX8xT4I4oif8pK9tLAXMKUdqbjgytWRhMzCk1zQIzqlaM 5ISg0NZYJmXKTuGqwgaqtXCvmD9OZ8dmo/8rvh/7UY/SsCnI7sJR2NAxWLSZeTWaDH5c XumPnsO07QHp7tcW7QbKGmOTy/X4rHRzjwpmU4g341SPDDsdBSWhQzaSPP51Xt+/Nlyj OFbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=t2W6sbGEnI8Z6v4ZeHOtpdkS5MlLB9jpeCwhRVdOECw=; b=H8ud6V9VwxmpB+zc2fdzeLBHJAzGgwuOvukriT38vOABUMXOzLV06KY3sZmlQYYLxv oY3BCHHMxf/CtGpaZd0z/WMvUHtNlPqAE50OPYWLWIlQD8CWPTRWlHK2UTIz1P/vSRy/ Xn7Y/5ACX+zpd/6nnwId7qt8TyHQOAhll72pOz7qrzJJleeqH/8PM3r+EJIQYyMrsft/ 9KiHTx6cbViv7Fd/s2YmrJ1l5UGVmpbBr3DUHcubjobcyig+W2HPknXsEiEkeaaH7P72 0AVan/BeJ8OK72ejbHPyqUEUZYJdwTRUY0rjiAiHSF3zGKtP1+j7dCUf8XYRp1WnQc+m LxuA== 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 c22-v6si8408183plo.271.2018.07.29.11.29.53; Sun, 29 Jul 2018 11:30:07 -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 S1726914AbeG2UAC (ORCPT + 99 others); Sun, 29 Jul 2018 16:00:02 -0400 Received: from bues.ch ([80.190.117.144]:42830 "EHLO bues.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726473AbeG2UAC (ORCPT ); Sun, 29 Jul 2018 16:00:02 -0400 Received: by bues.ch with esmtpsa (Exim 4.89) (envelope-from ) id 1fjqQr-0004rp-5g; Sun, 29 Jul 2018 20:28:41 +0200 Date: Sun, 29 Jul 2018 20:27:18 +0200 From: Michael =?UTF-8?B?QsO8c2No?= To: Joe Perches Cc: LKML Subject: Re: [TRIVIAL RFC PATCH] Kconfigs - reduce use of "depends on EXPERT" Message-ID: <20180729202718.2fbc4592@wiggum> In-Reply-To: <350ebd4172e21efc02d972420b9dbb06e506a014.camel@perches.com> References: <27780ceb2056b871d746803a2ac23464396f3026.camel@perches.com> <20180729134202.5ab56762@wiggum> <350ebd4172e21efc02d972420b9dbb06e506a014.camel@perches.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/WQ/rVo99v1PhX1U1frRX42m"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/WQ/rVo99v1PhX1U1frRX42m Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 29 Jul 2018 11:16:37 -0700 Joe Perches wrote: > (removing a bunch of cc's) >=20 > On Sun, 2018-07-29 at 13:42 +0200, Michael B=C3=BCsch wrote: > > On Sat, 28 Jul 2018 15:13:00 -0700 > > Joe Perches wrote: > > =20 > > > config SSB_SILENT > > > - bool "No SSB kernel messages" > > > - depends on SSB && EXPERT > > > + bool "No SSB kernel messages" if EXPERT > > > + depends on SSB > > > help > > > This option turns off all Sonics Silicon Backplane printks. > > > Note that you won't be able to identify problems, once =20 > >=20 > >=20 > > What about removing this option entirely? > > We would just have to remove it from Kconfig and from its only use in > > drivers/ssb/ssb_private.h > > I don't think anybody uses (or should use) this option anyway. > > That would reduce the EXPERT dependencies by one, which is a good > > thing. :) =20 >=20 > I'm fine with that, but it was originally your code from > the first ssb commit in 2007: >=20 > This might only be desired for production kernels on > embedded devices to reduce the kernel size. >=20 > Presumably for ddwrt and such. Yeah, but it doesn't make sense to do this in ssb only. And it only saves a couple of k at best. > Removal could simplify the ssb_ printk logic a bit too. >=20 > Perhaps something like the below, > but your code, your decisions...: This is great! Thanks. Reviewed-by: Michael Buesch --=20 Michael --Sig_/WQ/rVo99v1PhX1U1frRX42m Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEihRzkKVZOnT2ipsS9TK+HZCNiw4FAlteBwcACgkQ9TK+HZCN iw6pLg/+NPUBBRpFH/Uq4dZt6iPBPvvmXntY5Gs+/r8mUv/eeEAnZizJF5r6X5mO a61uXw4XQJ1GXvb8iIxG2zAcMp0RuJ22xRsuERtN0JJuLxy8dFC5kxXW9xv6Q85l 2M/11ksfzPIBL/Md5HEb9F+cQZRNw62lDKcvElOWFICYze7tbSB315KevxSIohh5 q5qVGChn42gXSFkIc30poc0cu3ImG3IlPDghxXeF70TyBqj7jlFSQRJXNWixvH83 CMTqiBA6eUwIBcgGnZK4GL5Bvsd60nRjATD9dlYLIw17gdGFyQugSy3UZe1eZCMx zxHB/dWUIw78sszT9aiZU6uJuZzgIyRMtP7EeCnnGj25cggXghXflpZfwh+m941o jG05GOxVSyi7oovqjfviGm/Or+eW1IzCslfI1Wc2b88WBIJ2srCeV2HkwYb1Gvpm S7MPZJTHBGCS1lbLA+45WsgOh/qbFE+NNV6QAwvZ5JesA7ofX5p0e6pCX8G74B31 Juwmt6TNyF2rxw3pbtak9iqAS7Ej4uVs9m0uEwyewVL+C/r7QgEW/IJwfv2/Ffg9 D+1aPOHKN31wRFzMWHjy9QaH2lgqSSJh67kOFmxZlVzOagTYSmk+QoW9q3oVxMgq EHxQ7iAlDwc3x3aRFLHJr/Q7RqmemR2Gqb3ewDx5j/BJ9AyVbf4= =5G4x -----END PGP SIGNATURE----- --Sig_/WQ/rVo99v1PhX1U1frRX42m--