Commit b91cc573 authored by Geliang Tang's avatar Geliang Tang Committed by Greg Kroah-Hartman

staging: rdma: add a blank line after function

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: default avatarGeliang Tang <geliangtang@163.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 96a660d7
...@@ -155,6 +155,7 @@ void c2_mq_req_init(struct c2_mq *q, u32 index, u32 q_size, u32 msg_size, ...@@ -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; q->hint_count = 0;
return; return;
} }
void c2_mq_rep_init(struct c2_mq *q, u32 index, u32 q_size, u32 msg_size, 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) u8 *pool_start, u16 __iomem *peer, u32 type)
{ {
......
...@@ -2066,6 +2066,7 @@ static const struct file_operations ui_file_ops = { ...@@ -2066,6 +2066,7 @@ static const struct file_operations ui_file_ops = {
.open = ui_open, .open = ui_open,
.release = ui_release, .release = ui_release,
}; };
#define UI_OFFSET 192 /* device minor offset for UI devices */ #define UI_OFFSET 192 /* device minor offset for UI devices */
static int create_ui = 1; static int create_ui = 1;
......
...@@ -741,6 +741,7 @@ u16 sdma_get_descq_cnt(void) ...@@ -741,6 +741,7 @@ u16 sdma_get_descq_cnt(void)
return SDMA_DESCQ_CNT; return SDMA_DESCQ_CNT;
return count; return count;
} }
/** /**
* sdma_select_engine_vl() - select sdma engine * sdma_select_engine_vl() - select sdma engine
* @dd: devdata * @dd: devdata
......
...@@ -1199,6 +1199,7 @@ int hfi1_verbs_send_pio(struct hfi1_qp *qp, struct ahg_ib_header *ahdr, ...@@ -1199,6 +1199,7 @@ int hfi1_verbs_send_pio(struct hfi1_qp *qp, struct ahg_ib_header *ahdr,
} }
return 0; return 0;
} }
/* /*
* egress_pkey_matches_entry - return 1 if the pkey matches ent (ent * egress_pkey_matches_entry - return 1 if the pkey matches ent (ent
* being an entry from the ingress partition key table), return 0 * being an entry from the ingress partition key table), return 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment