]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: lustre: lnet: include: minor whitespace fixes
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jul 2014 05:40:51 +0000 (22:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jul 2014 05:40:51 +0000 (22:40 -0700)
Found by the checkpatch.pl tool

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/lnet/api.h
drivers/staging/lustre/include/linux/lnet/lib-lnet.h
drivers/staging/lustre/include/linux/lnet/lib-types.h
drivers/staging/lustre/include/linux/lnet/linux/api-support.h
drivers/staging/lustre/include/linux/lnet/linux/lib-lnet.h
drivers/staging/lustre/include/linux/lnet/lnet-sysctl.h
drivers/staging/lustre/include/linux/lnet/ptllnd.h
drivers/staging/lustre/include/linux/lnet/ptllnd_wire.h

index 0b5478c4c47d475cc488105d8cfcbc06814f397d..cd865175703fc6a5181d0c1d2a36d72c15183bc6 100644 (file)
@@ -84,7 +84,6 @@ void LNetSnprintHandle(char *str, int str_len, lnet_handle_any_t handle);
 
 /** @} lnet_addr */
 
-
 /** \defgroup lnet_me Match entries
  *
  * A match entry (abbreviated as ME) describes a set of criteria to accept
@@ -171,7 +170,6 @@ int LNetEQFree(lnet_handle_eq_t eventq_in);
 int LNetEQGet(lnet_handle_eq_t  eventq_in,
              lnet_event_t     *event_out);
 
-
 int LNetEQWait(lnet_handle_eq_t  eventq_in,
               lnet_event_t     *event_out);
 
@@ -204,7 +202,6 @@ int LNetGet(lnet_nid_t      self,
            unsigned int      offset_in);
 /** @} lnet_data */
 
-
 /** \defgroup lnet_misc Miscellaneous operations.
  * Miscellaneous operations.
  * @{ */
index d8c1bf4265f639969799860ac836c67656201f29..5c5c2f989c80a8734a6f6e1eddd06c2a96eb7054 100644 (file)
@@ -166,7 +166,6 @@ lnet_net_lock_current(void)
 #define LNET_LOCK()            lnet_net_lock(LNET_LOCK_EX)
 #define LNET_UNLOCK()          lnet_net_unlock(LNET_LOCK_EX)
 
-
 #define lnet_ptl_lock(ptl)     spin_lock(&(ptl)->ptl_lock)
 #define lnet_ptl_unlock(ptl)   spin_unlock(&(ptl)->ptl_lock)
 #define lnet_eq_wait_lock()    spin_lock(&the_lnet.ln_eq_wait_lock)
@@ -176,7 +175,6 @@ lnet_net_lock_current(void)
 #define LNET_MUTEX_LOCK(m)     mutex_lock(m)
 #define LNET_MUTEX_UNLOCK(m)   mutex_unlock(m)
 
-
 #define MAX_PORTALS     64
 
 /* these are only used by code with LNET_USE_LIB_FREELIST, but we still
@@ -214,7 +212,6 @@ lnet_freelist_free(lnet_freelist_t *fl, void *obj)
        list_add(&o->fo_list, &fl->fl_list);
 }
 
-
 static inline lnet_eq_t *
 lnet_eq_alloc(void)
 {
@@ -640,7 +637,6 @@ lnet_net2rnethash(__u32 net)
 
 extern lnd_t the_lolnd;
 
-
 int lnet_cpt_of_nid_locked(lnet_nid_t nid);
 int lnet_cpt_of_nid(lnet_nid_t nid);
 lnet_ni_t *lnet_nid2ni_locked(lnet_nid_t nid, int cpt);
@@ -809,6 +805,7 @@ lnet_copy_flat2iov(unsigned int ndiov, struct iovec *diov, unsigned int doffset,
                   int slen, void *src, unsigned int soffset, unsigned int nob)
 {
        struct iovec siov = {/*.iov_base = */ src, /*.iov_len = */slen};
+
        lnet_copy_iov2iov(ndiov, diov, doffset,
                          1, &siov, soffset, nob);
 }
@@ -818,6 +815,7 @@ lnet_copy_flat2kiov(unsigned int ndiov, lnet_kiov_t *dkiov, unsigned int doffset
                    int slen, void *src, unsigned int soffset, unsigned int nob)
 {
        struct iovec siov = {/* .iov_base = */ src, /* .iov_len = */ slen};
+
        lnet_copy_iov2kiov(ndiov, dkiov, doffset,
                           1, &siov, soffset, nob);
 }
@@ -870,5 +868,4 @@ void lnet_peer_tables_destroy(void);
 int lnet_peer_tables_create(void);
 void lnet_debug_peer(lnet_nid_t nid);
 
-
 #endif
index 970f2d72948e985499944e4edbd182070cc18977..d0b0c261ba033a2a031f14ae877ebe73806d826b 100644 (file)
@@ -156,7 +156,6 @@ typedef struct {
  * "stub" reply using their current protocol */
 #define LNET_PROTO_MAGIC                   0x45726963 /* ! */
 
-
 #define LNET_PROTO_TCP_VERSION_MAJOR   1
 #define LNET_PROTO_TCP_VERSION_MINOR   0
 
@@ -225,7 +224,6 @@ typedef struct lnet_msg {
        lnet_hdr_t          msg_hdr;
 } lnet_msg_t;
 
-
 typedef struct lnet_libhandle {
        struct list_head            lh_hash_chain;
        __u64            lh_cookie;
index ca78a0a4e908ee89d98c7e8332c6837f8cfbaa61..e237ad6af422d471cf02b22d646efa29d855697f 100644 (file)
@@ -39,5 +39,4 @@
 #error Do not #include this file directly. #include <lnet /api-support.h> instead
 #endif
 
-
 #endif
index d91f2dd1494f42554bf57a41962b82ddc0381108..0f8f04d1ecffe1d54d8882634aeef13ec0a81771 100644 (file)
@@ -45,7 +45,7 @@
 #include "../../libcfs/libcfs.h"
 
 static inline __u64
-lnet_page2phys (struct page *p)
+lnet_page2phys(struct page *p)
 {
        /* compiler optimizer will elide unused branches */
 
@@ -66,7 +66,6 @@ lnet_page2phys (struct page *p)
        }
 }
 
-
 #define LNET_ROUTER
 
 #endif /* __LNET_LINUX_LIB_LNET_H__ */
index 1bde44ebb91123b419d876c6d1008176847f68f9..2dee1b97fb88fba5e699c33b6eb48add8dc073fd 100644 (file)
@@ -37,7 +37,6 @@
 
 #if defined(CONFIG_SYSCTL)
 
-
 #define CTL_KRANAL      201
 #define CTL_O2IBLND     205
 #define CTL_PTLLND      206
@@ -45,7 +44,6 @@
 #define CTL_SOCKLND     208
 #define CTL_GNILND      210
 
-
 #endif
 
 #endif
index 313442a7ed3e0f1f20a17726f58b56a86f6115fd..b5d9383b26978c92b0298af00e55490546e6ab2e 100644 (file)
@@ -46,7 +46,6 @@
  */
 #define LUSTRE_PORTALS_UNLINK_SEMANTICS
 
-
 #ifdef _USING_LUSTRE_PORTALS_
 
 /* NIDs are 64-bits on Lustre Portals */
index 6dfdbd81beb4879a861df2bfeedb5242796a82a1..808f37b64a4fe748ae3a04008d95b7b0243f528c 100644 (file)
@@ -54,7 +54,6 @@
  * enough to avoid RDMA for anything sent while control is not in liblustre */
 #define PTLLND_MAX_ULND_MSG_SIZE 512
 
-
 /************************************************************************
  * Portals LND Wire message format.
  * These are sent in sender's byte order (i.e. receiver flips).