[PATCH 0/3] staging: lustre: fix LINE_SPACING checkpatch warnings

Mike Rapoport mike.rapoport at gmail.com
Tue Oct 13 13:03:39 UTC 2015


Hi,

These patches add/remove blank lines to fix several types of LINE_SPACING
warnings reported by the checkpatch.pl

Mike Rapoport (3):
  staging: lustre: add missing blank line after declarations
  staging: lustre: remove multiple blank lines
  staging: lustre: add a blank line after function/struct/union/enum
    declarations

 .../lustre/include/linux/libcfs/linux/libcfs.h     |  3 --
 .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h    |  2 --
 .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c |  3 +-
 .../lustre/lnet/klnds/o2iblnd/o2iblnd_modparams.c  |  1 -
 .../staging/lustre/lnet/klnds/socklnd/socklnd.c    |  4 +--
 .../staging/lustre/lnet/klnds/socklnd/socklnd_cb.c |  5 ++-
 .../lustre/lnet/klnds/socklnd/socklnd_modparams.c  |  1 -
 drivers/staging/lustre/lnet/lnet/acceptor.c        |  2 --
 drivers/staging/lustre/lnet/lnet/api-ni.c          |  2 --
 drivers/staging/lustre/lnet/lnet/lib-eq.c          |  3 --
 drivers/staging/lustre/lnet/lnet/lib-move.c        |  3 --
 drivers/staging/lustre/lnet/lnet/router.c          |  1 -
 drivers/staging/lustre/lnet/selftest/conrpc.c      |  1 -
 drivers/staging/lustre/lnet/selftest/conrpc.h      |  1 -
 drivers/staging/lustre/lnet/selftest/console.c     |  2 --
 drivers/staging/lustre/lnet/selftest/console.h     |  1 -
 drivers/staging/lustre/lnet/selftest/framework.c   |  3 --
 drivers/staging/lustre/lnet/selftest/module.c      |  1 -
 drivers/staging/lustre/lnet/selftest/rpc.c         |  2 --
 drivers/staging/lustre/lnet/selftest/rpc.h         |  1 -
 drivers/staging/lustre/lnet/selftest/selftest.h    |  3 --
 drivers/staging/lustre/lnet/selftest/timer.c       |  3 --
 drivers/staging/lustre/lustre/include/cl_object.h  |  4 +--
 drivers/staging/lustre/lustre/include/lclient.h    |  1 -
 .../lustre/lustre/include/linux/lustre_compat25.h  |  1 -
 .../lustre/lustre/include/linux/lustre_lite.h      |  2 --
 .../lustre/include/linux/lustre_patchless_compat.h |  1 -
 drivers/staging/lustre/lustre/include/linux/obd.h  |  2 +-
 .../staging/lustre/lustre/include/lprocfs_status.h |  4 +--
 drivers/staging/lustre/lustre/include/lu_object.h  |  4 ---
 drivers/staging/lustre/lustre/include/lu_ref.h     |  1 -
 .../lustre/lustre/include/lustre/ll_fiemap.h       |  3 --
 .../lustre/lustre/include/lustre/lustre_idl.h      | 13 +++----
 .../lustre/lustre/include/lustre/lustre_user.h     |  9 ++---
 drivers/staging/lustre/lustre/include/lustre_cfg.h |  4 ++-
 .../staging/lustre/lustre/include/lustre_disk.h    |  6 ++--
 drivers/staging/lustre/lustre/include/lustre_dlm.h |  2 +-
 .../staging/lustre/lustre/include/lustre_eacl.h    |  1 -
 drivers/staging/lustre/lustre/include/lustre_fid.h |  2 ++
 drivers/staging/lustre/lustre/include/lustre_fld.h |  1 -
 drivers/staging/lustre/lustre/include/lustre_ha.h  |  1 -
 .../staging/lustre/lustre/include/lustre_handles.h |  2 +-
 .../staging/lustre/lustre/include/lustre_import.h  |  5 +--
 drivers/staging/lustre/lustre/include/lustre_lib.h |  8 ++---
 .../staging/lustre/lustre/include/lustre_lite.h    |  1 -
 drivers/staging/lustre/lustre/include/lustre_mdc.h |  1 -
 drivers/staging/lustre/lustre/include/lustre_net.h |  6 ++--
 .../staging/lustre/lustre/include/lustre_param.h   |  2 --
 drivers/staging/lustre/lustre/include/lustre_sec.h |  5 ---
 drivers/staging/lustre/lustre/include/obd.h        |  2 ++
 drivers/staging/lustre/lustre/include/obd_cache.h  |  1 -
 drivers/staging/lustre/lustre/include/obd_cksum.h  |  1 -
 drivers/staging/lustre/lustre/include/obd_class.h  |  8 ++---
 .../staging/lustre/lustre/include/obd_support.h    |  1 -
 drivers/staging/lustre/lustre/lclient/lcommon_cl.c |  1 -
 .../staging/lustre/lustre/lclient/lcommon_misc.c   |  1 -
 drivers/staging/lustre/lustre/ldlm/ldlm_extent.c   |  1 -
 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c    |  1 -
 .../staging/lustre/lustre/ldlm/ldlm_inodebits.c    |  1 -
 drivers/staging/lustre/lustre/ldlm/ldlm_lib.c      |  1 -
 drivers/staging/lustre/lustre/ldlm/ldlm_lock.c     |  2 --
 drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c    |  5 +--
 drivers/staging/lustre/lustre/ldlm/ldlm_plain.c    |  1 -
 drivers/staging/lustre/lustre/ldlm/ldlm_pool.c     |  2 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_request.c  |  1 -
 drivers/staging/lustre/lustre/ldlm/ldlm_resource.c |  2 ++
 drivers/staging/lustre/lustre/libcfs/debug.c       |  1 +
 .../lustre/lustre/libcfs/kernel_user_comm.c        |  1 +
 drivers/staging/lustre/lustre/libcfs/libcfs_lock.c |  2 --
 .../lustre/libcfs/linux/linux-crypto-adler.c       |  3 +-
 .../lustre/lustre/libcfs/linux/linux-crypto.c      |  4 +--
 .../lustre/lustre/libcfs/linux/linux-curproc.c     |  1 +
 .../lustre/lustre/libcfs/linux/linux-module.c      |  1 -
 drivers/staging/lustre/lustre/libcfs/module.c      |  2 +-
 drivers/staging/lustre/lustre/libcfs/tracefile.c   |  2 +-
 drivers/staging/lustre/lustre/libcfs/tracefile.h   |  3 --
 drivers/staging/lustre/lustre/libcfs/workitem.c    |  4 ---
 drivers/staging/lustre/lustre/llite/dcache.c       |  1 -
 drivers/staging/lustre/lustre/llite/dir.c          |  2 --
 drivers/staging/lustre/lustre/llite/file.c         |  6 ----
 .../staging/lustre/lustre/llite/llite_internal.h   |  3 +-
 drivers/staging/lustre/lustre/llite/llite_lib.c    |  1 +
 drivers/staging/lustre/lustre/llite/llite_mmap.c   |  2 --
 drivers/staging/lustre/lustre/llite/llite_nfs.c    |  1 +
 drivers/staging/lustre/lustre/llite/llite_rmtacl.c |  1 -
 drivers/staging/lustre/lustre/llite/lloop.c        |  5 +--
 drivers/staging/lustre/lustre/llite/lproc_llite.c  |  9 +++--
 drivers/staging/lustre/lustre/llite/namei.c        |  2 --
 drivers/staging/lustre/lustre/llite/rw.c           |  4 +++
 drivers/staging/lustre/lustre/llite/rw26.c         |  1 +
 drivers/staging/lustre/lustre/llite/super25.c      |  2 ++
 drivers/staging/lustre/lustre/llite/vvp_dev.c      |  3 --
 drivers/staging/lustre/lustre/llite/vvp_internal.h |  1 -
 drivers/staging/lustre/lustre/llite/vvp_io.c       |  4 +--
 drivers/staging/lustre/lustre/llite/vvp_lock.c     |  1 -
 drivers/staging/lustre/lustre/llite/vvp_object.c   |  1 -
 drivers/staging/lustre/lustre/llite/vvp_page.c     |  1 -
 drivers/staging/lustre/lustre/llite/xattr_cache.c  | 18 ----------
 drivers/staging/lustre/lustre/lmv/lmv_obd.c        | 10 +++---
 drivers/staging/lustre/lustre/lmv/lproc_lmv.c      |  2 ++
 .../staging/lustre/lustre/lov/lov_cl_internal.h    |  2 --
 drivers/staging/lustre/lustre/lov/lov_dev.c        |  1 -
 drivers/staging/lustre/lustre/lov/lov_internal.h   |  1 -
 drivers/staging/lustre/lustre/lov/lov_io.c         |  5 +--
 drivers/staging/lustre/lustre/lov/lov_lock.c       |  5 +--
 drivers/staging/lustre/lustre/lov/lov_obd.c        |  7 ++--
 drivers/staging/lustre/lustre/lov/lov_pack.c       |  2 --
 drivers/staging/lustre/lustre/lov/lov_page.c       |  2 --
 drivers/staging/lustre/lustre/lov/lov_pool.c       |  4 +--
 drivers/staging/lustre/lustre/lov/lovsub_dev.c     |  1 -
 drivers/staging/lustre/lustre/lov/lovsub_object.c  |  2 --
 drivers/staging/lustre/lustre/lov/lproc_lov.c      |  5 +++
 drivers/staging/lustre/lustre/mdc/mdc_lib.c        |  2 --
 drivers/staging/lustre/lustre/mdc/mdc_locks.c      |  2 --
 drivers/staging/lustre/lustre/mdc/mdc_request.c    |  3 --
 drivers/staging/lustre/lustre/mgc/lproc_mgc.c      |  1 +
 drivers/staging/lustre/lustre/mgc/mgc_request.c    |  5 +--
 drivers/staging/lustre/lustre/obdclass/acl.c       |  1 -
 drivers/staging/lustre/lustre/obdclass/cl_io.c     |  3 +-
 drivers/staging/lustre/lustre/obdclass/cl_lock.c   |  3 ++
 drivers/staging/lustre/lustre/obdclass/cl_object.c |  4 +--
 drivers/staging/lustre/lustre/obdclass/cl_page.c   |  2 --
 drivers/staging/lustre/lustre/obdclass/class_obd.c |  5 +--
 drivers/staging/lustre/lustre/obdclass/genops.c    |  4 +--
 .../lustre/lustre/obdclass/linux/linux-module.c    |  1 -
 drivers/staging/lustre/lustre/obdclass/llog.c      |  1 -
 drivers/staging/lustre/lustre/obdclass/llog_cat.c  |  1 -
 drivers/staging/lustre/lustre/obdclass/llog_obd.c  |  1 -
 drivers/staging/lustre/lustre/obdclass/llog_swab.c |  1 -
 .../lustre/lustre/obdclass/lprocfs_status.c        |  7 +++-
 drivers/staging/lustre/lustre/obdclass/lu_object.c |  4 +--
 .../lustre/lustre/obdclass/lustre_handles.c        |  3 +-
 .../staging/lustre/lustre/obdclass/obd_config.c    |  6 ++--
 drivers/staging/lustre/lustre/obdclass/obd_mount.c |  4 +--
 .../staging/lustre/lustre/obdecho/echo_client.c    |  9 ++---
 .../staging/lustre/lustre/obdecho/echo_internal.h  |  1 -
 drivers/staging/lustre/lustre/osc/lproc_osc.c      |  8 +++++
 drivers/staging/lustre/lustre/osc/osc_cache.c      | 12 +++++--
 .../staging/lustre/lustre/osc/osc_cl_internal.h    |  1 -
 drivers/staging/lustre/lustre/osc/osc_internal.h   |  1 +
 drivers/staging/lustre/lustre/osc/osc_io.c         |  2 --
 drivers/staging/lustre/lustre/osc/osc_object.c     |  2 --
 drivers/staging/lustre/lustre/osc/osc_page.c       |  4 ++-
 drivers/staging/lustre/lustre/osc/osc_quota.c      |  1 +
 drivers/staging/lustre/lustre/osc/osc_request.c    |  8 +++--
 drivers/staging/lustre/lustre/ptlrpc/client.c      |  2 ++
 drivers/staging/lustre/lustre/ptlrpc/events.c      |  2 --
 drivers/staging/lustre/lustre/ptlrpc/import.c      |  4 +--
 drivers/staging/lustre/lustre/ptlrpc/layout.c      |  2 +-
 drivers/staging/lustre/lustre/ptlrpc/llog_client.c |  1 +
 .../staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c    |  9 +++--
 drivers/staging/lustre/lustre/ptlrpc/niobuf.c      |  1 -
 drivers/staging/lustre/lustre/ptlrpc/nrs.c         |  2 --
 .../staging/lustre/lustre/ptlrpc/pack_generic.c    | 40 ++++++++++++++++++++--
 drivers/staging/lustre/lustre/ptlrpc/pers.c        |  1 -
 drivers/staging/lustre/lustre/ptlrpc/pinger.c      |  2 ++
 .../staging/lustre/lustre/ptlrpc/ptlrpc_module.c   |  1 -
 drivers/staging/lustre/lustre/ptlrpc/sec.c         |  2 +-
 drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c    |  3 +-
 drivers/staging/lustre/lustre/ptlrpc/sec_config.c  |  4 +++
 drivers/staging/lustre/lustre/ptlrpc/sec_gc.c      |  2 --
 drivers/staging/lustre/lustre/ptlrpc/sec_lproc.c   |  2 ++
 drivers/staging/lustre/lustre/ptlrpc/sec_null.c    |  2 +-
 drivers/staging/lustre/lustre/ptlrpc/sec_plain.c   |  1 -
 drivers/staging/lustre/lustre/ptlrpc/service.c     |  7 ++--
 165 files changed, 230 insertions(+), 287 deletions(-)

-- 
2.1.0



More information about the devel mailing list