Skip to content

Declare local functions as static

Shraddha Barke outreachy 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Staging: lustre: obdclass: llog_cat: Declare local functions as staticdrivers/staging/lustre/lustre/include/lustre_log.h drivers/staging/lustre/lustre/obdclass/llog_cat.c drivers/staging/lustre/lustre/obdclass/llog_internal.h+8 -120 replies
2/5Staging: lustre: ptlrpc: pack_generic: Declare local functions as staticdrivers/staging/lustre/lustre/include/lustre/lustre_idl.h drivers/staging/lustre/lustre/ptlrpc/pack_generic.c+4 -160 replies
3/5Staging: lustre: ptlrpc: import: Declare deuuidify as staticdrivers/staging/lustre/lustre/include/lustre_net.h drivers/staging/lustre/lustre/ptlrpc/import.c+2 -30 replies
4/5Staging: lustre: ptlrpc: service: Declare local functions as staticdrivers/staging/lustre/lustre/include/lustre_net.h drivers/staging/lustre/lustre/ptlrpc/service.c+2 -50 replies
5/5Staging: lustre: obdclass: obdo: Declare iattr_from_obdo as staticdrivers/staging/lustre/lustre/include/obd_class.h drivers/staging/lustre/lustre/obdclass/obdo.c+1 -30 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchArnd Bergmann
SeriesR-b
1/5
2/5
3/5
4/5
5/5

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/5] Declare local functions as static

Declare functions as static since they are used only in a particular file.

Shraddha Barke (5):
Staging: lustre: obdclass: llog_cat: Declare local functions as static
Staging: lustre: ptlrpc: pack_generic: Declare local functions as
static
Staging: lustre: ptlrpc: import: Declare deuuidify as static
Staging: lustre: ptlrpc: service: Declare local functions as static
Staging: lustre: obdclass: obdo: Declare iattr_from_obdo as static

 drivers/staging/lustre/lustre/include/lustre/lustre_idl.h |  8 --------
 drivers/staging/lustre/lustre/include/lustre_log.h        |  3 ---
 drivers/staging/lustre/lustre/include/lustre_net.h        |  4 ----
 drivers/staging/lustre/lustre/include/obd_class.h         |  1 -
 drivers/staging/lustre/lustre/obdclass/llog_cat.c         | 15 ++++++++-------
 drivers/staging/lustre/lustre/obdclass/llog_internal.h    |  2 --
 drivers/staging/lustre/lustre/obdclass/obdo.c             |  3 +--
 drivers/staging/lustre/lustre/ptlrpc/import.c             |  3 ++-
 drivers/staging/lustre/lustre/ptlrpc/pack_generic.c       | 12 ++++--------
 drivers/staging/lustre/lustre/ptlrpc/service.c            |  5 ++---
 10 files changed, 17 insertions(+), 39 deletions(-)
Signature · 1 line
2.1.4