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
---
drivers/staging/lustre/lustre/libcfs/Makefile | 2 +-
.../lustre/lustre/libcfs/linux/linux-proc.c| 577
: Matthew Tyler
---
.../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 --git a/drivers/staging
- Replace body-less for-loop with while loop
- Use '\0' for null character instead of 0
Signed-off-by: Matthew Tyler
---
drivers/staging/lustre/lustre/libcfs/libcfs_string.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/lustre/lus
Signed-off-by: Matthew Tyler
---
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 fb88733..e67a18d 100644
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
wrote:
> On Mon, Dec 15, 2014 at 10
- Replace body-less for-loop with while loop
- Use '\0' for null character instead of 0
Signed-off-by: Matthew Tyler
---
drivers/staging/lustre/lustre/libcfs/libcfs_string.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/lustre/lus
Signed-off-by: Matthew Tyler
---
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 fb88733..e67a18d 100644
This patch fixes a trailing statement warning found by checkpatch.pl
Signed-off-by: Matthew Tyler
---
drivers/staging/lustre/lustre/libcfs/libcfs_string.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/lustre/lustre/libcfs/libcfs_string.c
b/drivers
This patch adds spacing around an '=' operator
Signed-off-by: Matthew Tyler
---
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/lus