]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging/rdma/hfi1: Add blank link after declarations
authorJubin John <jubin.john@intel.com>
Mon, 15 Feb 2016 04:20:25 +0000 (20:20 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:45:38 +0000 (20:45 -0500)
Add blank line after declarations to fix checkpatch check:
CHECK: Please use a blank line after function/struct/union/enum
declarations

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/chip.c
drivers/staging/rdma/hfi1/debugfs.c
drivers/staging/rdma/hfi1/firmware.c
drivers/staging/rdma/hfi1/hfi.h
drivers/staging/rdma/hfi1/pcie.c
drivers/staging/rdma/hfi1/pio.h

index b4c017abab9f98d6c0ea4fa760599a2f982c11e2..bdc561087a513b48d4769fb8349c87d3a709fc6d 100644 (file)
@@ -6995,6 +6995,7 @@ static u16 link_width_to_bits(struct hfi1_devdata *dd, u16 width)
 static const u8 bit_counts[16] = {
        0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4
 };
+
 static inline u8 nibble_to_count(u8 nibble)
 {
        return bit_counts[nibble & 0xf];
@@ -10410,6 +10411,7 @@ static int vl_arb_match_cache(struct vl_arb_cache *cache,
 {
        return !memcmp(cache->table, vl, VL_ARB_TABLE_SIZE * sizeof(*vl));
 }
+
 /* end functions related to vl arbitration table caching */
 
 static int set_vl_weights(struct hfi1_pportdata *ppd, u32 target,
index fa3df1f75f5dd6b287fb984c73ab159c7007dd52..e02c5278d77ac1b71fe29ca7a0c75b45e28f629d 100644 (file)
@@ -71,6 +71,7 @@ static const struct seq_operations _##name##_seq_ops = { \
        .stop  = _##name##_seq_stop, \
        .show  = _##name##_seq_show \
 }
+
 #define DEBUGFS_SEQ_FILE_OPEN(name) \
 static int _##name##_open(struct inode *inode, struct file *s) \
 { \
index 1af5e3406f04a30b851deba0665c0dfc582579b3..16c9dc7917c7afe21ab1f9ff162d409c0a546f14 100644 (file)
@@ -113,6 +113,7 @@ struct css_header {
        u32 exponent_size;      /* in DWORDs */
        u32 reserved[22];
 };
+
 /* expected field values */
 #define CSS_MODULE_TYPE           0x00000006
 #define CSS_HEADER_LEN    0x000000a1
@@ -172,6 +173,7 @@ enum fw_state {
        FW_FINAL,
        FW_ERR
 };
+
 static enum fw_state fw_state = FW_EMPTY;
 static int fw_err;
 static struct firmware_details fw_8051;
index de82f8e789142c261f63d35c68f4be755932f124..805535eca040cae80bb6c5d16664908e50c2a442 100644 (file)
@@ -1495,6 +1495,7 @@ static inline int valid_ib_mtu(unsigned int mtu)
                mtu == 1024 || mtu == 2048 ||
                mtu == 4096;
 }
+
 static inline int valid_opa_max_mtu(unsigned int mtu)
 {
        return mtu >= 2048 &&
index 725e2829a510cb9cb8a85e44062d548253ec34f1..b169166d48b64aea28b71f8a51777559d21d6095 100644 (file)
@@ -529,6 +529,7 @@ static void tune_pcie_caps(struct hfi1_devdata *dd)
                pcie_set_readrq(dd->pcidev, ep_mrrs);
        }
 }
+
 /* End of PCIe capability tuning */
 
 /*
index 8d0cf1bf3f1b6a1d1b45ca425cb75c39b0495136..09a5eebf4b564ae656204ffbd5073b9f98d5a9c1 100644 (file)
@@ -105,6 +105,7 @@ struct send_context {
        struct hfi1_devdata *dd;                /* device */
        void __iomem *base_addr;        /* start of PIO memory */
        union pio_shadow_ring *sr;      /* shadow ring */
+
        volatile __le64 *hw_free;       /* HW free counter */
        struct work_struct halt_work;   /* halted context work queue entry */
        unsigned long flags;            /* flags */