[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1622025763-56413-1-git-send-email-jiapeng.chong@linux.alibaba.com>
Date: Wed, 26 May 2021 18:42:43 +0800
From: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
To: kxie@...lsio.com
Cc: jejb@...ux.ibm.com, martin.petersen@...cle.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Subject: [PATCH] scsi: cxgbi: cxgb3: Fix inconsistent indenting
Eliminate the follow smatch warning:
drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:402 push_tx_frames() warn:
inconsistent indenting.
Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
---
drivers/scsi/cxgbi/cxgb3i/cxgb3i.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c b/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c
index 203f938..0fb42a4 100644
--- a/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c
+++ b/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c
@@ -395,10 +395,11 @@ static int push_tx_frames(struct cxgbi_sock *csk, int req_completion)
struct sk_buff *skb;
if (unlikely(csk->state < CTP_ESTABLISHED ||
- csk->state == CTP_CLOSE_WAIT_1 || csk->state >= CTP_ABORTING)) {
- log_debug(1 << CXGBI_DBG_TOE | 1 << CXGBI_DBG_PDU_TX,
- "csk 0x%p,%u,0x%lx,%u, in closing state.\n",
- csk, csk->state, csk->flags, csk->tid);
+ csk->state == CTP_CLOSE_WAIT_1 ||
+ csk->state >= CTP_ABORTING)) {
+ log_debug(1 << CXGBI_DBG_TOE | 1 << CXGBI_DBG_PDU_TX,
+ "csk 0x%p,%u,0x%lx,%u, in closing state.\n",
+ csk, csk->state, csk->flags, csk->tid);
return 0;
}
--
1.8.3.1
Powered by blists - more mailing lists