staging: rdma: amso1100: remove label indentation
authorIoana Ciornei <ciorneiioana@gmail.com>
Tue, 6 Oct 2015 08:35:19 +0000 (11:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Oct 2015 09:50:27 +0000 (10:50 +0100)
Remove label indentation to follow kernel coding style

Signed-off-by: Ioana Ciornei <ciorneiioana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/amso1100/c2.c
drivers/staging/rdma/amso1100/c2_cq.c
drivers/staging/rdma/amso1100/c2_mm.c
drivers/staging/rdma/amso1100/c2_qp.c
drivers/staging/rdma/amso1100/c2_rnic.c

index 766a71ccefed20975fd9c6fc264f2ab69d071170..7f1e794a858cce632536bec4ce382b1325739ee8 100644 (file)
@@ -675,11 +675,11 @@ static int c2_up(struct net_device *netdev)
 
        return 0;
 
-      bail1:
+bail1:
        c2_rx_clean(c2_port);
        kfree(c2_port->rx_ring.start);
 
-      bail0:
+bail0:
        pci_free_consistent(c2dev->pcidev, c2_port->mem_size, c2_port->mem,
                            c2_port->dma);
 
index 1b63185b4ad4fa977bc4f211fe159cd32c83aabb..3ef881f2da0fb1557a8e3642d72604196dc97f6d 100644 (file)
@@ -374,13 +374,13 @@ int c2_init_cq(struct c2_dev *c2dev, int entries,
 
        return 0;
 
-      bail3:
+bail3:
        vq_repbuf_free(c2dev, reply);
-      bail2:
+bail2:
        vq_req_free(c2dev, vq_req);
-      bail1:
+bail1:
        c2_free_cq_buf(c2dev, &cq->mq);
-      bail0:
+bail0:
        c2_free_mqsp(cq->mq.shared);
 
        return err;
@@ -429,9 +429,9 @@ void c2_free_cq(struct c2_dev *c2dev, struct c2_cq *cq)
        reply = (struct c2wr_cq_destroy_rep *) (unsigned long) (vq_req->reply_msg);
        if (reply)
                vq_repbuf_free(c2dev, reply);
-      bail1:
+bail1:
        vq_req_free(c2dev, vq_req);
-      bail0:
+bail0:
        if (cq->is_kernel) {
                c2_free_cq_buf(c2dev, &cq->mq);
        }
index 119c4f3d9791a81c44164737f5c9f147b5455139..25081e2913de1dfd08c719c11142f9e16ca41f23 100644 (file)
@@ -164,7 +164,7 @@ send_pbl_messages(struct c2_dev *c2dev, __be32 stag_index,
        err = c2_errno(reply);
 
        vq_repbuf_free(c2dev, reply);
-      bail0:
+bail0:
        kfree(wr);
        return err;
 }
@@ -304,11 +304,11 @@ c2_nsmr_register_phys_kern(struct c2_dev *c2dev, u64 *addr_list,
 
        return err;
 
-      bail2:
+bail2:
        vq_repbuf_free(c2dev, reply);
-      bail1:
+bail1:
        kfree(wr);
-      bail0:
+bail0:
        vq_req_free(c2dev, vq_req);
        return err;
 }
@@ -371,7 +371,7 @@ int c2_stag_dealloc(struct c2_dev *c2dev, u32 stag_index)
        err = c2_errno(reply);
 
        vq_repbuf_free(c2dev, reply);
-      bail0:
+bail0:
        vq_req_free(c2dev, vq_req);
        return err;
 }
index 86708dee58b1405c21694b5ea72a53808e2a3c1e..e0a7aff0eb2a5a266867287a5a22414971d404c0 100644 (file)
@@ -240,7 +240,7 @@ int c2_qp_modify(struct c2_dev *c2dev, struct c2_qp *qp,
        spin_unlock_irqrestore(&qp->lock, flags);
 
        vq_repbuf_free(c2dev, reply);
-      bail0:
+bail0:
        vq_req_free(c2dev, vq_req);
 
        pr_debug("%s:%d qp=%p, cur_state=%s\n",
@@ -294,7 +294,7 @@ int c2_qp_set_read_limits(struct c2_dev *c2dev, struct c2_qp *qp,
 
        err = c2_errno(reply);
        vq_repbuf_free(c2dev, reply);
-      bail0:
+bail0:
        vq_req_free(c2dev, vq_req);
        return err;
 }
@@ -373,7 +373,7 @@ static int destroy_qp(struct c2_dev *c2dev, struct c2_qp *qp)
        spin_unlock_irqrestore(&qp->lock, flags);
 
        vq_repbuf_free(c2dev, reply);
-      bail0:
+bail0:
        vq_req_free(c2dev, vq_req);
        return err;
 }
@@ -554,19 +554,19 @@ int c2_alloc_qp(struct c2_dev *c2dev,
 
        return 0;
 
-      bail6:
+bail6:
        iounmap(qp->sq_mq.peer);
-      bail5:
+bail5:
        destroy_qp(c2dev, qp);
-      bail4:
+bail4:
        vq_repbuf_free(c2dev, reply);
-      bail3:
+bail3:
        vq_req_free(c2dev, vq_req);
-      bail2:
+bail2:
        c2_free_mqsp(qp->rq_mq.shared);
-      bail1:
+bail1:
        c2_free_mqsp(qp->sq_mq.shared);
-      bail0:
+bail0:
        c2_free_qpn(c2dev, qp->qpn);
        return err;
 }
index d2a6d961344b7e6f32855fad7b176149964bd43e..d3c0f77767d9a198f651524e13ce54884db9bbc0 100644 (file)
@@ -261,9 +261,9 @@ int c2_add_addr(struct c2_dev *c2dev, __be32 inaddr, __be32 inmask)
        err = c2_errno(reply);
        vq_repbuf_free(c2dev, reply);
 
-      bail1:
+bail1:
        kfree(wr);
-      bail0:
+bail0:
        vq_req_free(c2dev, vq_req);
        return err;
 }
@@ -323,9 +323,9 @@ int c2_del_addr(struct c2_dev *c2dev, __be32 inaddr, __be32 inmask)
        err = c2_errno(reply);
        vq_repbuf_free(c2dev, reply);
 
-      bail1:
+bail1:
        kfree(wr);
-      bail0:
+bail0:
        vq_req_free(c2dev, vq_req);
        return err;
 }
@@ -378,9 +378,9 @@ static int c2_rnic_open(struct c2_dev *c2dev)
 
        c2dev->adapter_handle = reply->rnic_handle;
 
-      bail1:
+bail1:
        vq_repbuf_free(c2dev, reply);
-      bail0:
+bail0:
        vq_req_free(c2dev, vq_req);
        return err;
 }
@@ -430,9 +430,9 @@ static int c2_rnic_close(struct c2_dev *c2dev)
 
        c2dev->adapter_handle = 0;
 
-      bail1:
+bail1:
        vq_repbuf_free(c2dev, reply);
-      bail0:
+bail0:
        vq_req_free(c2dev, vq_req);
        return err;
 }
@@ -589,21 +589,21 @@ int c2_rnic_init(struct c2_dev *c2dev)
        c2_init_qp_table(c2dev);
        return 0;
 
-      bail5:
+bail5:
        c2_rnic_close(c2dev);
-      bail4:
+bail4:
        vq_term(c2dev);
-      bail3:
+bail3:
        dma_free_coherent(&c2dev->pcidev->dev,
                          c2dev->aeq.q_size * c2dev->aeq.msg_size,
                          q2_pages, dma_unmap_addr(&c2dev->aeq, mapping));
-      bail2:
+bail2:
        dma_free_coherent(&c2dev->pcidev->dev,
                          c2dev->rep_vq.q_size * c2dev->rep_vq.msg_size,
                          q1_pages, dma_unmap_addr(&c2dev->rep_vq, mapping));
-      bail1:
+bail1:
        c2_free_mqsp_pool(c2dev, c2dev->kern_mqsp_pool);
-      bail0:
+bail0:
        vfree(c2dev->qptr_array);
 
        return err;