[PATCH] Staging: lustre: linux-module: fix coding style issues.

2014-07-27 Thread Jessica Yu
Fixed some coding style issues. Signed-off-by: Jessica Yu --- drivers/staging/lustre/lustre/libcfs/linux/linux-module.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/lustre/lustre/libcfs/linux/linux-module.c b/drivers/staging/lustre/lustre

[PATCH] Staging: lustre: linux-module: fix coding style issues.

2014-07-27 Thread Jessica Yu
Fixed some coding style issues. Signed-off-by: Jessica Yu --- drivers/staging/lustre/lustre/libcfs/linux/linux-module.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/lustre/lustre/libcfs/linux/linux-module.c b/drivers/staging/lustre/lustre

[PATCH] Staging: lustre: linux-module: fix coding style issues

2014-07-27 Thread Jessica Yu
* bar -> foo *bar) Signed-off-by: Jessica Yu --- drivers/staging/lustre/lustre/libcfs/linux/linux-module.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/lustre/lustre/libcfs/linux/linux-module.c b/drivers/staging/lustre/lustre/libcfs/linux/li

[PATCH v2 2/4] Staging: lustre: linux-module: remove unnecessary spaces

2014-07-27 Thread Jessica Yu
Remove extraneous space after open paren and before close paren. Signed-off-by: Jessica Yu --- drivers/staging/lustre/lustre/libcfs/linux/linux-module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/libcfs/linux/linux-module.c b/drivers

[PATCH v2 3/4] Staging: lustre: linux-module: remove extraneous parens

2014-07-27 Thread Jessica Yu
Remove unnecessary parens from return statements, return is not a function Signed-off-by: Jessica Yu --- drivers/staging/lustre/lustre/libcfs/linux/linux-module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/libcfs/linux/linux-module.c b

[PATCH v2 4/4] Staging: lustre: linux-module: add const modifier to file_operations

2014-07-27 Thread Jessica Yu
Add the const modifier to the file_operations struct, since it is normally const. Signed-off-by: Jessica Yu --- drivers/staging/lustre/lustre/libcfs/linux/linux-module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/libcfs/linux/linux-module.c

[PATCH v2 1/4] Staging: lustre: linux-module: fix pointer style issue

2014-07-27 Thread Jessica Yu
Fix pointer code style (foo * bar -> foo *bar) Signed-off-by: Jessica Yu --- drivers/staging/lustre/lustre/libcfs/linux/linux-module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/libcfs/linux/linux-module.c b/drivers/staging/lus

[PATCH v2 0/4] Staging: lustre: linux-module: fix style issues

2014-07-27 Thread Jessica Yu
I revisited my original patch and realized that it should be split into separate parts. Jessica Yu (4): Staging: lustre: linux-module: fix pointer style issue Staging: lustre: linux-module: remove unnecessary spaces Staging: lustre: linux-module: remove extraneous parens Staging: lustre