[lustre-devel] [PATCHv2 0/3] staging: lustre: fix (non-)static symbols issues
Anton Gerasimov
anton.gerasimov at openmailbox.org
Wed Sep 23 14:00:15 PDT 2015
This series of patches eliminates some sparse warnings concerning
static variables in lustre rtlrpc module where it seemed reasonable.
Symbols that are really local to a source file are made static and
declarations added to a header for symbols that are shared between
source files.
v2: Thank Andreas Dilger for the review.
Anton Gerasimov (3):
staging: lustre: moved extern declarations to a header
staging: lustre: include header with local ptlrpc declarations
staging: lustre: make non-exported functions static
drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c | 1 -
drivers/staging/lustre/lustre/ptlrpc/nrs.c | 1 -
drivers/staging/lustre/lustre/ptlrpc/pack_generic.c | 8 ++++----
drivers/staging/lustre/lustre/ptlrpc/ptlrpc_internal.h | 6 ++++++
drivers/staging/lustre/lustre/ptlrpc/ptlrpc_module.c | 2 --
drivers/staging/lustre/lustre/ptlrpc/sec_null.c | 2 ++
drivers/staging/lustre/lustre/ptlrpc/wiretest.c | 2 ++
7 files changed, 14 insertions(+), 8 deletions(-)
--
2.5.1
More information about the lustre-devel
mailing list