Staging: lustre: Corrected styling errors reported by checkpatch.pl script on file...
authorJoshua Baldock <joshua.baldock@gmail.com>
Wed, 2 Apr 2014 08:12:58 +0000 (19:12 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Apr 2014 03:23:22 +0000 (20:23 -0700)
Moved '{' from new line to same line as struct as advised by checkpatch.pl script.

Signed-off-by: Joshua Baldock <joshua.baldock@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/lnet/ptllnd_wire.h

index 7d12b3a..0d3ec5b 100644 (file)
                                         * above is for bulk data transfer */
 #define LNET_MSG_MATCHBITS       0      /* the value for the message channel */
 
-typedef struct
-{
+typedef struct {
        lnet_hdr_t      kptlim_hdr;          /* portals header */
        char          kptlim_payload[0];      /* piggy-backed payload */
 } WIRE_ATTR kptl_immediate_msg_t;
 
-typedef struct
-{
+typedef struct {
        lnet_hdr_t      kptlrm_hdr;          /* portals header */
        __u64        kptlrm_matchbits;       /* matchbits */
 } WIRE_ATTR kptl_rdma_msg_t;
 
-typedef struct
-{
+typedef struct {
        __u64        kptlhm_matchbits;       /* matchbits */
        __u32        kptlhm_max_msg_size;    /* max message size */
 } WIRE_ATTR kptl_hello_msg_t;
 
-typedef struct
-{
+typedef struct {
        /* First 2 fields fixed FOR ALL TIME */
        __u32      ptlm_magic;     /* I'm a Portals LND message */
        __u16      ptlm_version;   /* this is my version number */
@@ -107,7 +103,7 @@ typedef struct
 } kptl_msg_t;
 
 /* kptl_msg_t::ptlm_credits is only a __u8 */
-#define PTLLND_MSG_MAX_CREDITS ((typeof(((kptl_msg_t*) 0)->ptlm_credits)) -1)
+#define PTLLND_MSG_MAX_CREDITS ((typeof(((kptl_msg_t*) 0)->ptlm_credits)) - 1)
 
 #define PTLLND_MSG_MAGIC               LNET_PROTO_PTL_MAGIC
 #define PTLLND_MSG_VERSION           0x04