]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging/rdma/hfi1: diag.c fix logical continuations
authorIra Weiny <ira.weiny@intel.com>
Wed, 2 Dec 2015 05:43:28 +0000 (00:43 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:53:37 +0000 (13:53 -0800)
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>
drivers/staging/rdma/hfi1/diag.c

index 06c5cc649ff136e05bd3dadf96acaa21b8a45ebe..94368403e3ef719225be9d3233d215a7fcfa6d07 100644 (file)
@@ -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 */