From: Ira Weiny <ira.we...@intel.com>

Place logical operators at the end of the previous line when using a multi-line
statement.  Found by checkpatch --strict

Signed-off-by: Ira Weiny <ira.we...@intel.com>
---
 drivers/staging/rdma/hfi1/diag.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rdma/hfi1/diag.c b/drivers/staging/rdma/hfi1/diag.c
index 1d9faad7662f..ca833e9a4f15 100644
--- a/drivers/staging/rdma/hfi1/diag.c
+++ b/drivers/staging/rdma/hfi1/diag.c
@@ -530,9 +530,9 @@ static ssize_t diagpkt_send(struct diag_pkt *dp)
                 * NOTE: PRC_FILL_ERR is at best informational and cannot
                 * be depended on.
                 */
-               if (!ret && (((wait->code & PRC_STATUS_ERR)
-                               || (wait->code & PRC_FILL_ERR)
-                               || (wait->code & PRC_SC_DISABLE))))
+               if (!ret && (((wait->code & PRC_STATUS_ERR) ||
+                             (wait->code & PRC_FILL_ERR) ||
+                             (wait->code & PRC_SC_DISABLE))))
                        ret = -EIO;
 
                put_diagpkt_wait(wait); /* finished with the structure */
-- 
1.8.2

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to