[PATCH] net: the space is required before the open parenthesis '('

2016-06-27 Thread Wei Tang
The space is missing before the open parenthesis '(', and this will introduce much more noise when checking patch around. Signed-off-by: Wei Tang <tang...@cmss.chinamobile.com> --- net/core/utils.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/core/utils.c

[PATCH] net: the space is required before the open parenthesis '('

2016-06-27 Thread Wei Tang
The space is missing before the open parenthesis '(', and this will introduce much more noise when checking patch around. Signed-off-by: Wei Tang --- net/core/utils.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/core/utils.c b/net/core/utils.c index 3d17ca8

[PATCH] freevxfs: remove useless parentheses after return

2016-06-16 Thread Wei Tang
The parentheses after return is not required, remove it. Signed-off-by: Wei Tang <tang...@cmss.chinamobile.com> --- fs/freevxfs/vxfs_inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/freevxfs/vxfs_inode.c b/fs/freevxfs/vxfs_inode.c index 3e2ccad..93e9c16

[PATCH] freevxfs: remove useless parentheses after return

2016-06-16 Thread Wei Tang
The parentheses after return is not required, remove it. Signed-off-by: Wei Tang --- fs/freevxfs/vxfs_inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/freevxfs/vxfs_inode.c b/fs/freevxfs/vxfs_inode.c index 3e2ccad..93e9c16 100644 --- a/fs/freevxfs/vxfs_inode.c

[PATCH] net: the space is required after ','

2016-06-16 Thread Wei Tang
The space is missing after ',', and this will introduce much more noise when checking patch around. Signed-off-by: Wei Tang <tang...@cmss.chinamobile.com> --- net/core/dev.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/net/core/dev.c b/net/core/dev.c

[PATCH] net: the space is required after ','

2016-06-16 Thread Wei Tang
The space is missing after ',', and this will introduce much more noise when checking patch around. Signed-off-by: Wei Tang --- net/core/dev.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/net/core/dev.c b/net/core/dev.c index 7a3fe58..a01511b 100644 --- a/net

[PATCH] net: do not initialise statics to 0

2016-06-16 Thread Wei Tang
This patch fixes the checkpatch.pl error to dev.c: ERROR: do not initialise statics to 0 Signed-off-by: Wei Tang <tang...@cmss.chinamobile.com> --- net/core/dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/dev.c b/net/core/dev.c index 904ff43..7a3fe58

[PATCH] net: do not initialise statics to 0

2016-06-16 Thread Wei Tang
This patch fixes the checkpatch.pl error to dev.c: ERROR: do not initialise statics to 0 Signed-off-by: Wei Tang --- net/core/dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/dev.c b/net/core/dev.c index 904ff43..7a3fe58 100644 --- a/net/core/dev.c +++ b/net

[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 <tang...@cmss.chinamobile.com> --- fs/notify/inotify/inotify_fsnotify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/notify/i

[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

[PATCH] reiserfs: do not initialise statics to NULL

2016-06-06 Thread Wei Tang
This patch fixes the checkpatch.pl error to procfs.c: ERROR:INITIALISED_STATIC: do not initialise statics to NULL Signed-off-by: Wei Tang <tang...@cmss.chinamobile.com> --- fs/reiserfs/procfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/reiserfs/procfs.

[PATCH] reiserfs: do not initialise statics to NULL

2016-06-06 Thread Wei Tang
This patch fixes the checkpatch.pl error to procfs.c: ERROR:INITIALISED_STATIC: do not initialise statics to NULL Signed-off-by: Wei Tang --- fs/reiserfs/procfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/reiserfs/procfs.c b/fs/reiserfs/procfs.c index fe99915

[PATCH] ptrace: Fix WARNINGs for 'sizeof(X)' instead of 'sizeof X' in ptrace.c

2016-05-29 Thread Wei Tang
This patch fixes the checkpatch.pl WARNINGs to ptrace.c: WARNING: sizeof siginfo should be sizeof(siginfo) Signed-off-by: Wei Tang <tang...@cmss.chinamobile.com> --- kernel/ptrace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/ptrace.c b/kernel/ptrace.c

[PATCH] ptrace: Fix WARNINGs for 'sizeof(X)' instead of 'sizeof X' in ptrace.c

2016-05-29 Thread Wei Tang
This patch fixes the checkpatch.pl WARNINGs to ptrace.c: WARNING: sizeof siginfo should be sizeof(siginfo) Signed-off-by: Wei Tang --- kernel/ptrace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/ptrace.c b/kernel/ptrace.c index d49bfa1..76fa875 100644

[PATCH] posix-cpu-timers: Fix WARNINGs for 'sizeof(X)' instead of 'sizeof X' in posix-cpu-timers.c

2016-05-25 Thread Wei Tang
This patch fixes the checkpatch.pl WARNINGs to posix-cpu-timers.c like: WARNING: sizeof timer should be sizeof(timer) Signed-off-by: Wei Tang <tang...@cmss.chinamobile.com> --- kernel/time/posix-cpu-timers.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kerne

[PATCH] posix-cpu-timers: Fix WARNINGs for 'sizeof(X)' instead of 'sizeof X' in posix-cpu-timers.c

2016-05-25 Thread Wei Tang
This patch fixes the checkpatch.pl WARNINGs to posix-cpu-timers.c like: WARNING: sizeof timer should be sizeof(timer) Signed-off-by: Wei Tang --- kernel/time/posix-cpu-timers.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/time/posix-cpu-timers.c b/kernel

[PATCH] kernel/fork.c: use sizeof() instead of sizeof

2016-02-01 Thread Wei Tang
This patch fixes the checkpatch.pl warning to fork.c: WARNING: sizeof sig->rlim should be sizeof(sig->rlim) Signed-off-by: Wei Tang --- kernel/fork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/fork.c b/kernel/fork.c index 2e391c7..30e04d2 100644 --- a/

[PATCH] signal: use sizeof() instead of sizeof

2016-02-01 Thread Wei Tang
This patch fixes the checkpatch.pl warning to signal.c: WARNING: sizeof info should be sizeof(info) Signed-off-by: Wei Tang --- kernel/signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/signal.c b/kernel/signal.c index f3f1f7a..13b267a 100644 --- a/kernel

[PATCH] kernel/fork.c: use sizeof() instead of sizeof

2016-02-01 Thread Wei Tang
This patch fixes the checkpatch.pl warning to fork.c: WARNING: sizeof sig->rlim should be sizeof(sig->rlim) Signed-off-by: Wei Tang <tang...@cmss.chinamobile.com> --- kernel/fork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/fork.c b/kernel/fork.c i

[PATCH] signal: use sizeof() instead of sizeof

2016-02-01 Thread Wei Tang
This patch fixes the checkpatch.pl warning to signal.c: WARNING: sizeof info should be sizeof(info) Signed-off-by: Wei Tang <tang...@cmss.chinamobile.com> --- kernel/signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/signal.c b/kernel/signal.c index f