Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f398ab17 authored by Ira Weiny's avatar Ira Weiny Committed by Greg Kroah-Hartman
Browse files

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: default avatarIra Weiny <ira.weiny@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cce6bd86
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -538,9 +538,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 */