Staging: slicoss: Fix long line issues in slicoss.c
A patch to the slicoss.c file to fix some of the long line issues found by the checkpath.pl tool Signed-off-by: Sean Cleator <seancleator@hotmail.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
68de8d6734
commit
17d2c6439b
|
@ -498,12 +498,14 @@ static int slic_card_download(struct adapter *adapter)
|
|||
slic_reg32_write(&slic_regs->slic_wcs,
|
||||
baseaddress + codeaddr, FLUSH);
|
||||
/* Write out instruction to low addr */
|
||||
slic_reg32_write(&slic_regs->slic_wcs, instruction, FLUSH);
|
||||
slic_reg32_write(&slic_regs->slic_wcs,
|
||||
instruction, FLUSH);
|
||||
instruction = *(u32 *)(fw->data + index);
|
||||
index += 4;
|
||||
|
||||
/* Write out instruction to high addr */
|
||||
slic_reg32_write(&slic_regs->slic_wcs, instruction, FLUSH);
|
||||
slic_reg32_write(&slic_regs->slic_wcs,
|
||||
instruction, FLUSH);
|
||||
instruction = *(u32 *)(fw->data + index);
|
||||
index += 4;
|
||||
}
|
||||
|
@ -1532,14 +1534,18 @@ retry_rcvqfill:
|
|||
dev_err(dev, "%s: LOW 32bits PHYSICAL ADDRESS == 0\n",
|
||||
__func__);
|
||||
dev_err(dev, "skb[%p] PROBLEM\n", skb);
|
||||
dev_err(dev, " skbdata[%p]\n", skb->data);
|
||||
dev_err(dev, " skbdata[%p]\n",
|
||||
skb->data);
|
||||
dev_err(dev, " skblen[%x]\n", skb->len);
|
||||
dev_err(dev, " paddr[%p]\n", paddr);
|
||||
dev_err(dev, " paddrl[%x]\n", paddrl);
|
||||
dev_err(dev, " paddrh[%x]\n", paddrh);
|
||||
dev_err(dev, " rcvq->head[%p]\n", rcvq->head);
|
||||
dev_err(dev, " rcvq->tail[%p]\n", rcvq->tail);
|
||||
dev_err(dev, " rcvq->count[%x]\n", rcvq->count);
|
||||
dev_err(dev, " rcvq->head[%p]\n",
|
||||
rcvq->head);
|
||||
dev_err(dev, " rcvq->tail[%p]\n",
|
||||
rcvq->tail);
|
||||
dev_err(dev, " rcvq->count[%x]\n",
|
||||
rcvq->count);
|
||||
dev_err(dev, "SKIP THIS SKB!!!!!!!!\n");
|
||||
goto retry_rcvqfill;
|
||||
}
|
||||
|
@ -1548,14 +1554,18 @@ retry_rcvqfill:
|
|||
dev_err(dev, "%s: LOW 32bits PHYSICAL ADDRESS == 0\n",
|
||||
__func__);
|
||||
dev_err(dev, "skb[%p] PROBLEM\n", skb);
|
||||
dev_err(dev, " skbdata[%p]\n", skb->data);
|
||||
dev_err(dev, " skbdata[%p]\n",
|
||||
skb->data);
|
||||
dev_err(dev, " skblen[%x]\n", skb->len);
|
||||
dev_err(dev, " paddr[%p]\n", paddr);
|
||||
dev_err(dev, " paddrl[%x]\n", paddrl);
|
||||
dev_err(dev, " paddrh[%x]\n", paddrh);
|
||||
dev_err(dev, " rcvq->head[%p]\n", rcvq->head);
|
||||
dev_err(dev, " rcvq->tail[%p]\n", rcvq->tail);
|
||||
dev_err(dev, " rcvq->count[%x]\n", rcvq->count);
|
||||
dev_err(dev, " rcvq->head[%p]\n",
|
||||
rcvq->head);
|
||||
dev_err(dev, " rcvq->tail[%p]\n",
|
||||
rcvq->tail);
|
||||
dev_err(dev, " rcvq->count[%x]\n",
|
||||
rcvq->count);
|
||||
dev_err(dev, "GIVE TO CARD ANYWAY\n");
|
||||
}
|
||||
#endif
|
||||
|
@ -1884,7 +1894,8 @@ static void slic_xmit_fail(struct adapter *adapter,
|
|||
break;
|
||||
case XMIT_FAIL_HOSTCMD_FAIL:
|
||||
dev_err(&adapter->netdev->dev,
|
||||
"xmit_start skb[%p] type[%x] No host commands available\n", skb, skb->pkt_type);
|
||||
"xmit_start skb[%p] type[%x] No host commands available\n",
|
||||
skb, skb->pkt_type);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2096,7 +2107,8 @@ static void slic_interrupt_card_up(u32 isr, struct adapter *adapter,
|
|||
}
|
||||
} else if (isr & ISR_XDROP) {
|
||||
dev_err(&dev->dev,
|
||||
"isr & ISR_ERR [%x] ISR_XDROP\n", isr);
|
||||
"isr & ISR_ERR [%x] ISR_XDROP\n",
|
||||
isr);
|
||||
} else {
|
||||
dev_err(&dev->dev,
|
||||
"isr & ISR_ERR [%x]\n",
|
||||
|
@ -2340,7 +2352,8 @@ static int slic_if_init(struct adapter *adapter)
|
|||
SLIC_GET_ADDR_LOW(&pshmem->isr), FLUSH);
|
||||
#else
|
||||
slic_reg32_write(&slic_regs->slic_addr_upper, 0, DONT_FLUSH);
|
||||
slic_reg32_write(&slic_regs->slic_isp, (u32)&pshmem->isr, FLUSH);
|
||||
slic_reg32_write(&slic_regs->slic_isp, (u32)&pshmem->isr,
|
||||
FLUSH);
|
||||
#endif
|
||||
spin_unlock_irqrestore(&adapter->bit64reglock.lock,
|
||||
adapter->bit64reglock.flags);
|
||||
|
|
Loading…
Reference in New Issue