device coredump: fix minor issue in Kconfig file
PATCH 1/1 device coredump: fix minor issue in Kconfig file
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.
--- drivers/base/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/base/Kconfig +1 -1
@@ -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.
Signature · 6 lines
1.8.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 7 lines · Amitkumar Karwar
if "
CONFIG_DEV_COREDUMP=y" is added to configuration file, it gets removed when final configuration file is generated. The reason is it requiresCONFIG_WANT_DEV_COREDUMPto be enabled.Currently "make menuconfig" doesn't display an option to enable
WANT_DEV_COREDUMP. This patch updatesKconfigso that user can enableWANT_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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
SGkgSm9oYW5uZXMsDQoNCj4+IEN1cnJlbnRseSAibWFrZSBtZW51Y29uZmlnIiBkb2Vzbid0IGRp c3BsYXkgYW4gb3B0aW9uIHRvIGVuYWJsZQ0KPj4gV0FOVF9ERVZfQ09SRURVTVAuIFRoaXMgcGF0 Y2ggdXBkYXRlcyBLY29uZmlnIHNvIHRoYXQgdXNlciBjYW4gZW5hYmxlDQo+PiBXQU5UX0RFVl9D T1JFRFVNUC4NCj4NCj5UaGlzIGlzIGNvbXBsZXRlbHkgaW50ZW50aW9uYWwgLSBkcml2ZXJzIHNo b3VsZCAic2VsZWN0DQo+V0FOVF9ERVZfQ09SRURVTVAiIGFuZCB1c2VycyBhcmUgb25seSBhYmxl IHRvIHNldCAiQUxMT1dfREVWX0NPUkVEVU1QPW4iDQo+dG8gcHJldmVudCBpdC4NCj4NCg0KVGhh bmtzIGZvciB0aGUgY2xhcmlmaWNhdGlvbi4gV2Ugd2lsbCBtb2RpZnkgb3VyIGJ0bXJ2bCBkcml2 ZXIgcGF0Y2ggYWNjb3JkaW5nbHkgdGhlbi4NCg0KUmVnYXJkcywNCkFtaXRrdW1hcg0KDQo= --
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html