Re: [PATCH] fsnotify: do not initialise statics to false

2016-06-06 Thread Nikolay Borisov
On 06/07/2016 05:17 AM, Wei Tang wrote: > This patch fixes the checkpatch.pl error to inotify_fsnotify.c: > > ERROR: do not initialise statics to false So if a variable is declared as static this means it's going to live in the BSS which is zeroed out on load. So implicitly it is going to be 0,

[PATCH] fsnotify: do not initialise statics to false

2016-06-06 Thread Wei Tang
This patch fixes the checkpatch.pl error to inotify_fsnotify.c: ERROR: do not initialise statics to false Signed-off-by: Wei Tang --- fs/notify/inotify/inotify_fsnotify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/notify/inotify/inotify_fsnotify.c b/fs/notify/inotif