From: Anton Gerasimov Date: Thu, 24 Sep 2015 00:00:15 +0300 Subject: [lustre-devel] [PATCHv2 0/3] staging: lustre: fix (non-)static symbols issues Message-ID: <20150923205945.GA5335@linux-0hv4.site> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lustre-devel@lists.lustre.org 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