summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rdma
diff options
context:
space:
mode:
authorIra Weiny <ira.weiny@intel.com>2015-12-02 00:43:28 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-21 13:53:37 -0800
commitf398ab17b2d702620431ad71bc05265e936cc9f1 (patch)
treee05ef1e9920580854c677c0a67d1f370c3091e16 /drivers/staging/rdma
parentcce6bd86cbef8f0c2e5e24aaf31858f309d32a3f (diff)
downloadlinux-f398ab17b2d702620431ad71bc05265e936cc9f1.tar.gz
linux-f398ab17b2d702620431ad71bc05265e936cc9f1.tar.bz2
linux-f398ab17b2d702620431ad71bc05265e936cc9f1.zip
staging/rdma/hfi1: diag.c fix logical continuations
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.weiny@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rdma')
-rw-r--r--drivers/staging/rdma/hfi1/diag.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rdma/hfi1/diag.c b/drivers/staging/rdma/hfi1/diag.c
index 06c5cc649ff1..94368403e3ef 100644
--- a/drivers/staging/rdma/hfi1/diag.c
+++ b/drivers/staging/rdma/hfi1/diag.c
@@ -538,9 +538,9 @@ retry:
* 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 */