diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-10-11 19:48:53 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-10-15 02:47:05 +0200 |
commit | 70d7256819639e2b0c0425a50bbbb9e9fd9e9286 (patch) | |
tree | bb8bbbcc1bca524a1c9c4b870c2a14af3ebefaab /drivers/infiniband/hw/cxgb4/device.c | |
parent | RDMA/cxgb3: Remove a set-but-not-used variable (diff) | |
download | linux-70d7256819639e2b0c0425a50bbbb9e9fd9e9286.tar.xz linux-70d7256819639e2b0c0425a50bbbb9e9fd9e9286.zip |
RDMA/cxgb4: Fix indentation
This patch avoids that smatch reports the following:
drivers/infiniband/hw/cxgb4/device.c:1105: copy_gl_to_skb_pkt() warn: inconsistent indenting
drivers/infiniband/hw/cxgb4/cm.c:835: send_connect() warn: inconsistent indenting
drivers/infiniband/hw/cxgb4/cm.c:841: send_connect() warn: inconsistent indenting
drivers/infiniband/hw/cxgb4/cm.c:888: send_connect() warn: inconsistent indenting
drivers/infiniband/hw/cxgb4/cm.c:894: send_connect() warn: inconsistent indenting
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/device.c')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/cxgb4/device.c b/drivers/infiniband/hw/cxgb4/device.c index fa16a4a8c9a4..33bfddf3b064 100644 --- a/drivers/infiniband/hw/cxgb4/device.c +++ b/drivers/infiniband/hw/cxgb4/device.c @@ -1102,8 +1102,8 @@ static inline struct sk_buff *copy_gl_to_skb_pkt(const struct pkt_gl *gl, if (unlikely(!skb)) return NULL; - __skb_put(skb, gl->tot_len + sizeof(struct cpl_pass_accept_req) + - sizeof(struct rss_header) - pktshift); + __skb_put(skb, gl->tot_len + sizeof(struct cpl_pass_accept_req) + + sizeof(struct rss_header) - pktshift); /* * This skb will contain: |