Commit cec78b98 authored by Mark Einon's avatar Mark Einon Committed by Greg Kroah-Hartman

staging: et131x: logical continuations should be on the previous line

Fix two occurrences of the checkpatch check:

CHECK: Logical continuations should be on the previous line
Signed-off-by: default avatarMark Einon <mark.einon@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d855b893
...@@ -608,8 +608,8 @@ static int eeprom_write(struct et131x_adapter *adapter, u32 addr, u8 data) ...@@ -608,8 +608,8 @@ static int eeprom_write(struct et131x_adapter *adapter, u32 addr, u8 data)
* an error has occurred.Don't break here if we are revision * an error has occurred.Don't break here if we are revision
* 1, this is so we do a blind write for load bug. * 1, this is so we do a blind write for load bug.
*/ */
if ((status & LBCIF_STATUS_GENERAL_ERROR) if ((status & LBCIF_STATUS_GENERAL_ERROR) &&
&& adapter->pdev->revision == 0) adapter->pdev->revision == 0)
break; break;
/* Check bit 2 of the LBCIF Status Register. If equal to 1 an /* Check bit 2 of the LBCIF Status Register. If equal to 1 an
...@@ -2977,8 +2977,8 @@ static void et131x_handle_send_pkts(struct et131x_adapter *adapter) ...@@ -2977,8 +2977,8 @@ static void et131x_handle_send_pkts(struct et131x_adapter *adapter)
tcb = tx_ring->send_head; tcb = tx_ring->send_head;
} }
while (tcb && while (tcb &&
!((serviced ^ tcb->index) & ET_DMA10_WRAP) !((serviced ^ tcb->index) & ET_DMA10_WRAP) &&
&& index > (tcb->index & ET_DMA10_MASK)) { index > (tcb->index & ET_DMA10_MASK)) {
tx_ring->used--; tx_ring->used--;
tx_ring->send_head = tcb->next; tx_ring->send_head = tcb->next;
if (tcb->next == NULL) if (tcb->next == NULL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment