Commit 1af1ea6b authored by Eli Billauer's avatar Eli Billauer Committed by Greg Kroah-Hartman
Browse files

staging: xillybus: Clarified the stop condition for a loop

parent ae870e5d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -172,9 +172,9 @@ irqreturn_t xillybus_isr(int irq, void *data)
		return IRQ_HANDLED;
	}

	buf_size = i;
	buf_size = i + 2;

	for (i = 0; i <= buf_size; i += 2) { /* Scan through messages */
	for (i = 0; i < buf_size; i += 2) { /* Scan through messages */
		opcode = (buf[i] >> 24) & 0xff;

		msg_dir = buf[i] & 1;