[PATCH 00/10] checkpatch fixes and style cleanups for libcfs headers

James Simmons jsimmons at infradead.org
Fri Nov 18 16:48:34 UTC 2016


This patch set contains various cleanups that were reported
with checkpatch. Also remove the NULL and 0 comparisons which
is not kernel style. Lastly the uXX types are sorted out in
the libcfs headers. Only the macro mess is left that needs
cleaning up.

James Simmons (10):
  staging: lustre: libcfs: fixup all header block comments
  staging: lustre: libcfs: remove header's bare unsigned use
  staging: lustre: libcfs: name parameters for function prototypes
  staging: lustre: libcfs: remove blank line in header
  staging: lustre: libcfs: correct spelling in libcfs_cpu.h
  staging: lustre: libcfs: use bit macro in libcfs headers
  staging: lustre: libcfs: remove whitespace in libcfs_fail.h
  staging: lustre: libcfs: remove NULL comparisons in headers
  staging: lustre: libcfs: remove zero comparisons in headers
  staging: lustre: libcfs: use uXX instead of __uXX types in headers

 .../staging/lustre/include/linux/libcfs/curproc.h  |   20 +-
 .../staging/lustre/include/linux/libcfs/libcfs.h   |    4 +-
 .../lustre/include/linux/libcfs/libcfs_cpu.h       |    4 +-
 .../lustre/include/linux/libcfs/libcfs_crypto.h    |   12 +-
 .../lustre/include/linux/libcfs/libcfs_fail.h      |   53 ++++---
 .../lustre/include/linux/libcfs/libcfs_hash.h      |  183 ++++++++++---------
 .../lustre/include/linux/libcfs/libcfs_private.h   |   13 +-
 .../lustre/include/linux/libcfs/libcfs_string.h    |   24 ++--
 .../lustre/include/linux/libcfs/libcfs_workitem.h  |    4 +-
 .../lustre/include/linux/libcfs/linux/linux-cpu.h  |    8 +-
 .../lustre/include/linux/libcfs/linux/linux-time.h |    8 +-
 drivers/staging/lustre/lustre/obdclass/lu_object.c |    2 +-
 12 files changed, 179 insertions(+), 156 deletions(-)



More information about the devel mailing list