Thread (15 messages) 15 messages, 6 authors, 2018-05-25

Re: [PATCH 2/8] batman-adv: Disable CONFIG_BATMAN_ADV_DEBUGFS by default

From: Sergei Shtylyov <hidden>
Date: 2018-05-25 11:13:40
Also in: batman

On 5/25/2018 1:50 PM, Sven Eckelmann wrote:
[...]
quoted
quoted
--- a/net/batman-adv/Kconfig
+++ b/net/batman-adv/Kconfig
@@ -94,13 +94,13 @@ config BATMAN_ADV_DEBUGFS
bool "batman-adv debugfs entries"
depends on BATMAN_ADV
depends on DEBUG_FS
-       default y
+       default n
     N is the default default. :-) You don't need this line.
Hm, looks like this would have to be changed in a lot of places (~782
according to `git grep 'default n$'|wc -l` in my slightly outdated linux-
next). Do you want to fix it everywhere?
    No, but we can at least not add the new ones...
Might be good to get this integrated
in checkpatch.pl when this will become a new policy.
    Adding Joe Perches. Joe, can you add a check for "default n"?
Kind regards,
	Sven
MBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help