* [PATCH] device coredump: fix minor issue in Kconfig file
@ 2014-11-19 13:28 ` Amitkumar Karwar
0 siblings, 0 replies; 6+ messages in thread
From: Amitkumar Karwar @ 2014-11-19 13:28 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless, dri-devel, Amitkumar Karwar, Xinming Hu
if "CONFIG_DEV_COREDUMP=y" is added to configuration file, it
gets removed when final configuration file is generated. The
reason is it requires CONFIG_WANT_DEV_COREDUMP to be enabled.
Currently "make menuconfig" doesn't display an option to enable
WANT_DEV_COREDUMP. This patch updates Kconfig so that user can
enable WANT_DEV_COREDUMP.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Xinming Hu <huxm@marvell.com>
Tested-by: Xinming Hu <huxm@marvell.com>
---
drivers/base/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig
index 61a33f4..e491b07 100644
--- a/drivers/base/Kconfig
+++ b/drivers/base/Kconfig
@@ -166,7 +166,7 @@ config FW_LOADER_USER_HELPER_FALLBACK
If you are unsure about this, say N here.
config WANT_DEV_COREDUMP
- bool
+ bool "Want device coredump"
help
Drivers should "select" this option if they desire to use the
device coredump mechanism.
--
1.8.1.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] device coredump: fix minor issue in Kconfig file
@ 2014-11-19 13:28 ` Amitkumar Karwar
0 siblings, 0 replies; 6+ messages in thread
From: Amitkumar Karwar @ 2014-11-19 13:28 UTC (permalink / raw)
To: Johannes Berg
Cc: linux-wireless-u79uwXL29TY76Z2rM5mHXA,
dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Amitkumar Karwar,
Xinming Hu
if "CONFIG_DEV_COREDUMP=y" is added to configuration file, it
gets removed when final configuration file is generated. The
reason is it requires CONFIG_WANT_DEV_COREDUMP to be enabled.
Currently "make menuconfig" doesn't display an option to enable
WANT_DEV_COREDUMP. This patch updates Kconfig so that user can
enable WANT_DEV_COREDUMP.
Signed-off-by: Amitkumar Karwar <akarwar-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
Signed-off-by: Xinming Hu <huxm-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
Tested-by: Xinming Hu <huxm-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
---
drivers/base/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig
index 61a33f4..e491b07 100644
--- a/drivers/base/Kconfig
+++ b/drivers/base/Kconfig
@@ -166,7 +166,7 @@ config FW_LOADER_USER_HELPER_FALLBACK
If you are unsure about this, say N here.
config WANT_DEV_COREDUMP
- bool
+ bool "Want device coredump"
help
Drivers should "select" this option if they desire to use the
device coredump mechanism.
--
1.8.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] device coredump: fix minor issue in Kconfig file
@ 2014-11-19 13:35 ` Johannes Berg
0 siblings, 0 replies; 6+ messages in thread
From: Johannes Berg @ 2014-11-19 13:35 UTC (permalink / raw)
To: Amitkumar Karwar; +Cc: linux-wireless, dri-devel, Xinming Hu
On Wed, 2014-11-19 at 05:28 -0800, Amitkumar Karwar wrote:
> if "CONFIG_DEV_COREDUMP=y" is added to configuration file, it
> gets removed when final configuration file is generated. The
> reason is it requires CONFIG_WANT_DEV_COREDUMP to be enabled.
>
> Currently "make menuconfig" doesn't display an option to enable
> WANT_DEV_COREDUMP. This patch updates Kconfig so that user can
> enable WANT_DEV_COREDUMP.
This is completely intentional - drivers should "select
WANT_DEV_COREDUMP" and users are only able to set "ALLOW_DEV_COREDUMP=n"
to prevent it.
johannes
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] device coredump: fix minor issue in Kconfig file
@ 2014-11-19 13:35 ` Johannes Berg
0 siblings, 0 replies; 6+ messages in thread
From: Johannes Berg @ 2014-11-19 13:35 UTC (permalink / raw)
To: Amitkumar Karwar
Cc: linux-wireless-u79uwXL29TY76Z2rM5mHXA,
dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Xinming Hu
On Wed, 2014-11-19 at 05:28 -0800, Amitkumar Karwar wrote:
> if "CONFIG_DEV_COREDUMP=y" is added to configuration file, it
> gets removed when final configuration file is generated. The
> reason is it requires CONFIG_WANT_DEV_COREDUMP to be enabled.
>
> Currently "make menuconfig" doesn't display an option to enable
> WANT_DEV_COREDUMP. This patch updates Kconfig so that user can
> enable WANT_DEV_COREDUMP.
This is completely intentional - drivers should "select
WANT_DEV_COREDUMP" and users are only able to set "ALLOW_DEV_COREDUMP=n"
to prevent it.
johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [PATCH] device coredump: fix minor issue in Kconfig file
@ 2014-11-19 13:43 ` Amitkumar Karwar
0 siblings, 0 replies; 6+ messages in thread
From: Amitkumar Karwar @ 2014-11-19 13:43 UTC (permalink / raw)
To: Johannes Berg
Cc: linux-wireless@vger.kernel.org, dri-devel@lists.freedesktop.org,
Xinming Hu
SGkgSm9oYW5uZXMsDQoNCj4+IEN1cnJlbnRseSAibWFrZSBtZW51Y29uZmlnIiBkb2Vzbid0IGRp
c3BsYXkgYW4gb3B0aW9uIHRvIGVuYWJsZQ0KPj4gV0FOVF9ERVZfQ09SRURVTVAuIFRoaXMgcGF0
Y2ggdXBkYXRlcyBLY29uZmlnIHNvIHRoYXQgdXNlciBjYW4gZW5hYmxlDQo+PiBXQU5UX0RFVl9D
T1JFRFVNUC4NCj4NCj5UaGlzIGlzIGNvbXBsZXRlbHkgaW50ZW50aW9uYWwgLSBkcml2ZXJzIHNo
b3VsZCAic2VsZWN0DQo+V0FOVF9ERVZfQ09SRURVTVAiIGFuZCB1c2VycyBhcmUgb25seSBhYmxl
IHRvIHNldCAiQUxMT1dfREVWX0NPUkVEVU1QPW4iDQo+dG8gcHJldmVudCBpdC4NCj4NCg0KVGhh
bmtzIGZvciB0aGUgY2xhcmlmaWNhdGlvbi4gV2Ugd2lsbCBtb2RpZnkgb3VyIGJ0bXJ2bCBkcml2
ZXIgcGF0Y2ggYWNjb3JkaW5nbHkgdGhlbi4NCg0KUmVnYXJkcywNCkFtaXRrdW1hcg0KDQo=
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [PATCH] device coredump: fix minor issue in Kconfig file
@ 2014-11-19 13:43 ` Amitkumar Karwar
0 siblings, 0 replies; 6+ messages in thread
From: Amitkumar Karwar @ 2014-11-19 13:43 UTC (permalink / raw)
To: Johannes Berg
Cc: linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
Xinming Hu
Hi Johannes,
>> Currently "make menuconfig" doesn't display an option to enable
>> WANT_DEV_COREDUMP. This patch updates Kconfig so that user can enable
>> WANT_DEV_COREDUMP.
>
>This is completely intentional - drivers should "select
>WANT_DEV_COREDUMP" and users are only able to set "ALLOW_DEV_COREDUMP=n"
>to prevent it.
>
Thanks for the clarification. We will modify our btmrvl driver patch accordingly then.
Regards,
Amitkumar
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-11-19 13:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-19 13:28 [PATCH] device coredump: fix minor issue in Kconfig file Amitkumar Karwar
2014-11-19 13:28 ` Amitkumar Karwar
2014-11-19 13:35 ` Johannes Berg
2014-11-19 13:35 ` Johannes Berg
2014-11-19 13:43 ` Amitkumar Karwar
2014-11-19 13:43 ` Amitkumar Karwar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.