Re: [PATCH] staging: lustre: Fix sparse warnings for static declarations

2014-11-10 Thread Adrian Nicoara
> All the changes are against variables/functions that are only accessed from > within the same file. If the scope needs to change later on, the static > keyword > can be removed. > > Compile tested. Correction - I somehow missed a compile error. Disregard this patch, I'll follow up with a correct

[PATCH] staging: lustre: Fix sparse warnings for static declarations

2014-11-10 Thread Adrian Nicoara
All the changes are against variables/functions that are only accessed from within the same file. If the scope needs to change later on, the static keyword can be removed. Compile tested. Signed-off-by: Adrian Nicoara --- There are 73 such warnings remaining by my last count. They, however, requ