[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 ind

[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

[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] netlabel: do not initialise statics to NULL

2016-03-06 Thread Wei Tang
This patch fixes the checkpatch.pl error to netlabel_domainhash.c: ERROR: do not initialise statics to NULL Signed-off-by: Wei Tang --- net/netlabel/netlabel_domainhash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/netlabel/netlabel_domainhash.c b/net/netlabel

[PATCH] netlink: do not initialise statics to 0 or NULL

2016-03-06 Thread Wei Tang
This patch fixes the checkpatch.pl error to netlabel_unlabeled.c: ERROR: do not initialise statics to 0 or NULL Signed-off-by: Wei Tang --- net/netlabel/netlabel_unlabeled.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/netlabel/netlabel_unlabeled.c b/net

[PATCH] bpf_dbg: do not initialise statics to 0

2016-02-04 Thread Wei Tang
This patch fixes the checkpatch.pl error to bpf_dbg.c: ERROR: do not initialise statics to 0 Signed-off-by: Wei Tang --- tools/net/bpf_dbg.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/net/bpf_dbg.c b/tools/net/bpf_dbg.c index 9a287be..4f254bc 100644