[PATCH v2] staging:lustre:libcfs: Merge linux-proc.c into module.c

2015-03-06 Thread Matthew Tyler
module.c was previously the sole exporter of symbols from linux-proc.c This patch removes the global symbols by merging the two files Signed-off-by: Matthew Tyler matt.ty...@flashics.com --- drivers/staging/lustre/lustre/libcfs/Makefile | 2 +- .../lustre/lustre/libcfs/linux/linux-proc.c

[PATCH] staging:lustre:libcfs:linux: Define insert_proc and remove_proc in separate header file

2015-02-08 Thread Matthew Tyler
-by: Matthew Tyler matt.ty...@flashics.com --- .../lustre/lustre/libcfs/linux/linux-proc.c| 2 ++ .../lustre/lustre/libcfs/linux/linux-proc.h| 41 ++ 2 files changed, 43 insertions(+) create mode 100644 drivers/staging/lustre/lustre/libcfs/linux/linux-proc.h diff

[PATCH v2 1/2] staging: lustre: Fix minor style error in libcfs_string.c

2014-12-15 Thread Matthew Tyler
Signed-off-by: Matthew Tyler matt.ty...@flashics.com --- drivers/staging/lustre/lustre/libcfs/libcfs_string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/libcfs/libcfs_string.c b/drivers/staging/lustre/lustre/libcfs/libcfs_string.c index

[PATCH v2 2/2] staging: lustre: Cleanup cfs_str2mask in libcfs_string.c

2014-12-15 Thread Matthew Tyler
- Replace body-less for-loop with while loop - Use '\0' for null character instead of 0 Signed-off-by: Matthew Tyler matt.ty...@flashics.com --- drivers/staging/lustre/lustre/libcfs/libcfs_string.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/staging

Re: [PATCH v2 2/2] staging: lustre: Cleanup cfs_str2mask in libcfs_string.c

2014-12-15 Thread Matthew Tyler
Cheers. I was checking with --terse and that warning was not showing. I'll just fix that up now. Thanks for your help! New to this... Matthew Tyler Mob: +61407964325 Site: http://matthewtyler.io/ On Mon, Dec 15, 2014 at 10:13 PM, Dan Carpenter dan.carpen...@oracle.com wrote: On Mon, Dec 15

[PATCH v3 1/2] staging: lustre: Fix minor style error in libcfs_string.c

2014-12-15 Thread Matthew Tyler
Signed-off-by: Matthew Tyler matt.ty...@flashics.com --- drivers/staging/lustre/lustre/libcfs/libcfs_string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/libcfs/libcfs_string.c b/drivers/staging/lustre/lustre/libcfs/libcfs_string.c index

[PATCH v3 2/2] staging: lustre: Cleanup cfs_str2mask in libcfs_string.c

2014-12-15 Thread Matthew Tyler
- Replace body-less for-loop with while loop - Use '\0' for null character instead of 0 Signed-off-by: Matthew Tyler matt.ty...@flashics.com --- drivers/staging/lustre/lustre/libcfs/libcfs_string.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/staging

[PATCH 1/2] staging: lustre: Fix minor style error in libcfs_string.c

2014-12-10 Thread Matthew Tyler
This patch adds spacing around an '=' operator Signed-off-by: Matthew Tyler matt.ty...@flashics.com --- drivers/staging/lustre/lustre/libcfs/libcfs_string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/libcfs/libcfs_string.c b/drivers/staging

[PATCH 2/2] staging: lustre: Fix trailing statement error in libcfs_string.c

2014-12-10 Thread Matthew Tyler
This patch fixes a trailing statement warning found by checkpatch.pl Signed-off-by: Matthew Tyler matt.ty...@flashics.com --- drivers/staging/lustre/lustre/libcfs/libcfs_string.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/lustre/lustre/libcfs