staging: rdma: add a blank line after function
authorGeliang Tang <geliangtang@163.com>
Mon, 21 Sep 2015 15:39:08 +0000 (23:39 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:42:27 +0000 (03:42 +0200)
Fixed warnings found by checkpatch.pl:

Please use a blank line after function/struct/union/enum declarations
  FILE: drivers/staging/rdma/amso1100/c2_mq.c:158:
  FILE: drivers/staging/rdma/hfi1/file_ops.c:2069:
  FILE: drivers/staging/rdma/hfi1/sdma.c:744:
  FILE: drivers/staging/rdma/hfi1/verbs.c:1202:

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/amso1100/c2_mq.c
drivers/staging/rdma/hfi1/file_ops.c
drivers/staging/rdma/hfi1/sdma.c
drivers/staging/rdma/hfi1/verbs.c

index 0cddc49beae1f47d66e7f310ed3c04d41681856e..7827fb8bdb10185e861a3454f52f83b37604e7f6 100644 (file)
@@ -155,6 +155,7 @@ void c2_mq_req_init(struct c2_mq *q, u32 index, u32 q_size, u32 msg_size,
        q->hint_count = 0;
        return;
 }
+
 void c2_mq_rep_init(struct c2_mq *q, u32 index, u32 q_size, u32 msg_size,
                    u8 *pool_start, u16 __iomem *peer, u32 type)
 {
index 72d38500d8ce4e544cac1141497cbb46a7a4aa71..9a77221855e215a3efbc4b7ff9700228eccefbff 100644 (file)
@@ -2066,6 +2066,7 @@ static const struct file_operations ui_file_ops = {
        .open = ui_open,
        .release = ui_release,
 };
+
 #define UI_OFFSET 192  /* device minor offset for UI devices */
 static int create_ui = 1;
 
index 9c02a3d2370024680d7205e30fe5a39681eb0044..63ab72102183ecb5949b892ccd3e96ce3c1f9761 100644 (file)
@@ -741,6 +741,7 @@ u16 sdma_get_descq_cnt(void)
                return SDMA_DESCQ_CNT;
        return count;
 }
+
 /**
  * sdma_select_engine_vl() - select sdma engine
  * @dd: devdata
index 41bb59eb001c72fe214a4114047fdf03156f9007..a43fccd68a731cffe1a6a995f31cad2ef183abc2 100644 (file)
@@ -1199,6 +1199,7 @@ pio_bail:
        }
        return 0;
 }
+
 /*
  * egress_pkey_matches_entry - return 1 if the pkey matches ent (ent
  * being an entry from the ingress partition key table), return 0