public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Jan Engelhardt <jengelh@inai.de>
Cc: linux-kernel@vger.kernel.org, tkjos@android.com
Subject: Re: [PATCH] android: use "menuconfig" menu entry type for CONFIG_ANDROID
Date: Thu, 30 Dec 2021 17:58:22 +0100	[thread overview]
Message-ID: <Yc3lLpYKXl0MAEoO@kroah.com> (raw)
In-Reply-To: <20211230145002.7120-1-jengelh@inai.de>

On Thu, Dec 30, 2021 at 03:50:02PM +0100, Jan Engelhardt wrote:
> Allow disabling the Android driver section from within the Device
> Drivers submenu, without having to descend into the Android drivers
> submenu first.
> 
> Signed-off-by: Jan Engelhardt <jengelh@inai.de>
> ---
>  drivers/android/Kconfig | 6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)
> 
> diff --git a/drivers/android/Kconfig b/drivers/android/Kconfig
> index 53b22e26266c..dc0a373ab879 100644
> --- a/drivers/android/Kconfig
> +++ b/drivers/android/Kconfig
> @@ -1,7 +1,5 @@
>  # SPDX-License-Identifier: GPL-2.0
> -menu "Android"
> -
> -config ANDROID
> +menuconfig ANDROID
>  	bool "Android Drivers"
>  	help
>  	  Enable support for various drivers needed on the Android platform
> @@ -55,5 +53,3 @@ config ANDROID_BINDER_IPC_SELFTEST
>  	  alignments.
>  
>  endif # if ANDROID
> -
> -endmenu
> -- 
> 2.34.1
> 

But, when you do this, you loose these lines from the .config file,
resulting in this diff in the file:

--- .config.save	2021-12-30 17:54:49.327896243 +0100
+++ .config	2021-12-30 17:56:21.459819436 +0100
@@ -6477,17 +6477,11 @@
 CONFIG_RAS=y
 # CONFIG_RAS_CEC is not set
 # CONFIG_USB4 is not set
-
-#
-# Android
-#
 CONFIG_ANDROID=y
 CONFIG_ANDROID_BINDER_IPC=y
 CONFIG_ANDROID_BINDERFS=y
 CONFIG_ANDROID_BINDER_DEVICES="binder"
 CONFIG_ANDROID_BINDER_IPC_SELFTEST=y
-# end of Android
-
 # CONFIG_LIBNVDIMM is not set
 CONFIG_DAX=m
 CONFIG_NVMEM=y



Is that really a good idea?  What's the default these days?

Also, to be pedantic, this is a [v2] patch, right?  :)

I'll wait for the other Android driver maintainers to review this before
applying it, if they agree it is ok to do.

thanks,

greg k-h

  reply	other threads:[~2021-12-30 16:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-30 14:50 [PATCH] android: use "menuconfig" menu entry type for CONFIG_ANDROID Jan Engelhardt
2021-12-30 16:58 ` Greg KH [this message]
2021-12-30 17:36   ` Jan Engelhardt
  -- strict thread matches above, loose matches on Subject: below --
2021-12-28 20:06 Jan Engelhardt
2021-12-30 13:14 ` Greg KH
2021-12-30 14:14   ` Jan Engelhardt
2021-12-30 14:29     ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Yc3lLpYKXl0MAEoO@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=jengelh@inai.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tkjos@android.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox