[PATCH 00/10] staging: lustre: ldlm: Fix some checkpatch warnings and errors

Andreas Ruprecht rupran at einserver.de
Sun Nov 23 13:37:47 UTC 2014


This patch series removes warnings generated by scripts/checkpatch.pl
in the lustre/ldlm/ subdirectory of the driver.

Not all warnings are covered by this, especially the ones about quoted
strings being split across lines, but I currently don't see a
checkpatch.pl-conform way to reformat those. Some overlong lines are
still present for readability reasons, and a few warnings about breaks
not being useful also still remain.

Andreas Ruprecht (10):
  staging: lustre: ldlm: Add missing newlines after declarations
  staging: lustre: ldlm: Fix overlong lines
  staging: lustre: ldlm: Fix warning about missing spaces
  staging: lustre: ldlm: Fix indentation errors for switch-case
  staging: lustre: ldlm: Fix initialization of static variables
  staging: lustre: ldlm: Fix warning about unneeded return statement
  staging: lustre: ldlm: Remove unnecessary line continuations
  staging: lustre: ldlm: Remove unnecessary braces at ifs
  staging: lustre: ldlm: Remove space before braces for defined() check
  staging: lustre: ldlm: Add a space in debug output

 drivers/staging/lustre/lustre/ldlm/interval_tree.c |  5 +++
 drivers/staging/lustre/lustre/ldlm/ldlm_extent.c   |  4 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c    |  7 ++-
 drivers/staging/lustre/lustre/ldlm/ldlm_internal.h |  4 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_lib.c      |  3 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_lock.c     | 51 ++++++++++++----------
 drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c    | 17 +++++---
 drivers/staging/lustre/lustre/ldlm/ldlm_pool.c     | 48 +++++++++++---------
 drivers/staging/lustre/lustre/ldlm/ldlm_request.c  | 43 +++++++++++-------
 drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 18 +++++---
 10 files changed, 122 insertions(+), 78 deletions(-)

--
1.9.1



More information about the devel mailing list