Skip to content

Sparse warning fixes in Lustre.

Oleg Drokin lkml lustre-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8staging/lustre/llite: move root_squash from sysfs to debugfsdrivers/staging/lustre/lustre/llite/lproc_llite.c+15 -121 reply
2/8staging/lustre/ldlm: Correct itree_overlap_cb return typedrivers/staging/lustre/lustre/ldlm/ldlm_lock.c+1 -12 replies
3/8staging/lustre/llite: mark ll_io_init() staticdrivers/staging/lustre/lustre/llite/file.c+1 -11 reply
4/8staging/lustre/lov: make lov_lsm_alloc() staticdrivers/staging/lustre/lustre/lov/lov_pack.c+2 -11 reply
5/8staging/lustre/osc: extern declare osc_caches in a headerdrivers/staging/lustre/lustre/osc/osc_internal.h drivers/staging/lustre/lustre/osc/osc_request.c+2 -22 replies
6/8staging/lustre: Declare lu_context/session_tags_defaultdrivers/staging/lustre/lustre/include/lu_object.h drivers/staging/lustre/lustre/obdclass/cl_object.c+4 -21 reply
7/8staging/lustre: Move lov_read_and_clear_async_rc declarationdrivers/staging/lustre/lustre/include/obd.h drivers/staging/lustre/lustre/llite/vvp_internal.h+3 -21 reply
8/8staging/lustre/ptlrpc: Move nrs_conf_fifo extern to a headerdrivers/staging/lustre/lustre/ptlrpc/nrs.c drivers/staging/lustre/lustre/ptlrpc/ptlrpc_internal.h+3 -32 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchJames Simmons
1/8R-b
2/8R-b R-b
3/8R-b
4/8R-b
5/8R-b R-b
6/8R-b
7/8R-b
8/8R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] Sparse warning fixes in Lustre.

This set of fixes aims at sparse warnings.
Most of the patches are just moving declarations around to deal with the
warning: symbol 'xxx' was not declared. Should it be static? kind of messages.

Also a screwup with root_squash sysfs control is fixed.

Oleg Drokin (8):
staging/lustre/llite: move root_squash from sysfs to debugfs staging/lustre/ldlm: Correct itree_overlap_cb return type staging/lustre/llite: mark ll_io_init() static staging/lustre/lov: make lov_lsm_alloc() static staging/lustre/osc: extern declare osc_caches in a header staging/lustre: Declare lu_context/session_tags_default staging/lustre: Move lov_read_and_clear_async_rc declaration staging/lustre/ptlrpc: Move nrs_conf_fifo extern to a header

 drivers/staging/lustre/lustre/include/lu_object.h  |  3 +++
 drivers/staging/lustre/lustre/include/obd.h        |  3 +++
 drivers/staging/lustre/lustre/ldlm/ldlm_lock.c     |  2 +-
 drivers/staging/lustre/lustre/llite/file.c         |  2 +-
 drivers/staging/lustre/lustre/llite/lproc_llite.c  | 27 ++++++++++++----------
 drivers/staging/lustre/lustre/llite/vvp_internal.h |  2 --
 drivers/staging/lustre/lustre/lov/lov_pack.c       |  3 ++-
 drivers/staging/lustre/lustre/obdclass/cl_object.c |  3 +--
 drivers/staging/lustre/lustre/osc/osc_internal.h   |  2 ++
 drivers/staging/lustre/lustre/osc/osc_request.c    |  2 --
 drivers/staging/lustre/lustre/ptlrpc/nrs.c         |  3 ---
 .../staging/lustre/lustre/ptlrpc/ptlrpc_internal.h |  3 +++
 12 files changed, 31 insertions(+), 24 deletions(-)
Signature · 1 line
2.7.4