[PATCHv1] staging: lustre: fixed sparse warnings related to static declarations

2014-11-30 Thread Janet Liu
' was not declared. Should it be static? drivers/staging/lustre/lustre/mdc/mdc_request.c:455:5: warning: symbol 'mdc_getxattr' was not declared. Should it be static? Signed-off-by: Janet Liu jianhua@gmail.com --- drivers/staging/lustre/lustre/mdc/mdc_request.c | 12 ++-- 1 file changed

[PATCHv1 1/4] staging:lustre:lnet: lib-md.c make line not over 80 characters

2014-08-30 Thread Janet Liu
Silences the following checkpatch warning: WARNING: line over 80 characters Signed-off-by: Janet Liu jianhua@gmail.com --- drivers/staging/lustre/lnet/lnet/lib-md.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/lib

[PATCHv1 2/4] staging:lustre:lnet: lib-md.c delete space before '(' for code style

2014-08-30 Thread Janet Liu
Silences the following checkpatch warning: WARNING: space prohibited between function name and open parenthesis '(' Signed-off-by: Janet Liu jianhua@gmail.com --- drivers/staging/lustre/lnet/lnet/lib-md.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff

[PATCHv1 3/4] staging:lustre:lnet: lib-md.c erase C99 // comments

2014-08-30 Thread Janet Liu
After changing the comments format, the other error disappears. So silences two checkpatch errors: ERROR: do not use C99 // comments ERROR: trailing statements should be on next line Signed-off-by: Janet Liu jianhua@gmail.com --- drivers/staging/lustre/lnet/lnet/lib-md.c |6 +++--- 1

[PATCHv1 4/4] staging:lustre:lnet lib-md.c erase space before ')' for code style

2014-08-30 Thread Janet Liu
Silences the following error: ERROR: space prohibited before that close parenthesis ')' Signed-off-by: Janet Liu jianhua@gmail.com --- drivers/staging/lustre/lnet/lnet/lib-md.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lnet/lnet/lib-md.c

[PATCHv2 3/4] staging:lustre:lnet: lib-md.c erase C99 // comments

2014-08-30 Thread Janet Liu
After changing the comments format, the other error disappears. So silences two checkpatch errors: ERROR: do not use C99 // comments ERROR: trailing statements should be on next line Signed-off-by: Janet Liu jianhua@gmail.com --- drivers/staging/lustre/lnet/lnet/lib-md.c |6 +++--- 1

Re: Fwd: Re: [PATCH] staging:lustre:lnet: lib-md.c fix checkpath warnings and errors.

2014-08-27 Thread Janet Liu
On 08/28/2014 10:20 AM, Janet Liu wrote: Original Message Subject: Re: [PATCH] staging:lustre:lnet: lib-md.c fix checkpath warnings and errors. Date: Tue, 26 Aug 2014 18:22:45 -0700 From: Greg KH gre...@linuxfoundation.org To: Janet Liu janetliu...@qq.com CC: de

[PATCH] staging:lustre:lnet: lib-md.c fix checkpath warnings and errors.

2014-08-24 Thread Janet Liu
Sliences the following warning and error: WARNING: line over 80 characters WARNING: space prohibited between function name and open parenthesis '(' ERROR: do not use C99 // comments ERROR: trailing statements should be on next line Signed-off-by: Janet Liu janetliu...@qq.com --- drivers

[PATCH] staging:lustre:lnet: lib-md.c fix checkpath warnings and errors.

2014-08-24 Thread Janet Liu
Sliences the following warning and error: WARNING: line over 80 characters WARNING: space prohibited between function name and open parenthesis '(' ERROR: do not use C99 // comments ERROR: trailing statements should be on next line Signed-off-by: Janet Liu janetliu...@qq.com --- drivers

[PATCH] staging:lustre: lib-md.c fix checkpath warnings and errors.

2014-08-24 Thread Janet Liu
Sliences the following warning and error: WARNING: line over 80 characters WARNING: space prohibited between function name and open parenthesis '(' ERROR: do not use C99 // comments ERROR: trailing statements should be on next line Signed-off-by: Janet Liu jianhua@gmail.com