[PATCH] staging:vt6655 Add extern variable in head file

2014-12-15 Thread sunwxg
From: Sun Wang Subject: [PATCH] staging:vt6655 Add extern variable in head file Extern variable must be declared in head file. Compiler can catch the inconsistency when variable changes. Signed-off-by: Sun Wang --- drivers/staging/vt6655/ioctl.c | 1 - drivers/staging/vt6655/ioctl.h | 5 ++

[PATCH] staging:lustre:lnet: Incorrect type in assignment

2014-11-30 Thread sunwxg
From: Sun Wang Incorrect type when assign value to varible iov_base. Signed-off-by: Sun Wang --- .../drivers => drivers}/staging/lustre/lnet/lnet/lib-move.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lnet/lnet/lib-move.c b/drivers/s

[PATCH] staging:lustre:lnet: Incorrect type in assignment

2014-11-30 Thread sunwxg
From: Sun Wang Incorrect type when assign value to varible iov_base. Signed-off-by: Sun Wang --- .../drivers => drivers}/staging/lustre/lnet/lnet/lib-move.c| 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lnet/lnet/lib-move.c b/drivers/s

[PATCH] staging:lustre:lnet:lnet Function must be static

2014-11-16 Thread sunwxg
From: Sun Wang Function must be static if function will not be used in other files. Signed-off-by: Sun Wang --- drivers/staging/lustre/lnet/lnet/{module.c.org => module.c} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lnet/lnet/module.c.org b/driv

[PATCH] staging: lustre: lov_pack: fix coding style issue

2014-09-01 Thread sunwxg
From: Sun Wang Fix the style error checking by checkpatch.pl ERROR: space required after that ',' Signed-off-by: Sun Wang --- drivers/staging/lustre/lustre/lov/lov_pack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/lov/lov_pack.c b/driver

[no subject]

2014-09-01 Thread sunwxg
From: Sun Wang Subject: [PATCH] staging: lustre: lov_pack: fix coding style issue Fix the style error checking by checkpatch.pl ERROR: space required after that ',' Signed-off-by: Sun Wang --- drivers/staging/lustre/lustre/lov/lov_pack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[no subject]

2014-09-01 Thread sunwxg
From: Sun Wang Subject: [PATCH] staging: unisys: visorutil: procobjecttree: fix coding style issue Coding style issues, the changes include: -Remove '{}' Signed-off-by: Sun Wang --- drivers/staging/unisys/visorutil/procobjecttree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH] staging: lustre: lustre: mdc: mdc_reint: fix coding style issue

2014-08-31 Thread sunwxg
From: Sun Wang Coding style issues, the changes include: -Remove '{}' Signed-off-by: Sun Wang --- drivers/staging/lustre/lustre/mdc/mdc_reint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/mdc/mdc_reint.c b/drivers/staging/lustre/lustr