Commit 5d5b44b5 authored by Monam Agarwal's avatar Monam Agarwal Committed by Greg Kroah-Hartman

Staging: slicoss: Fix quoted string split across lines

This patch fixes the following checkpatch.pl issues in slicoss.c
WARNING: quoted string split across lines
Signed-off-by: default avatarMonam Agarwal <monamagarwal123@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a1ccf4f8
...@@ -1917,16 +1917,14 @@ static int slic_debug_card_show(struct seq_file *seq, void *v) ...@@ -1917,16 +1917,14 @@ static int slic_debug_card_show(struct seq_file *seq, void *v)
if (config->OEMFruFormat == VENDOR4_FRU_FORMAT) { if (config->OEMFruFormat == VENDOR4_FRU_FORMAT) {
seq_printf(seq, seq_printf(seq,
"Serial # : " "Serial # : %c%c%c%c%c%c%c%c%c%c%c%c\n",
"%c%c%c%c%c%c%c%c%c%c%c%c\n",
fru[8], fru[9], fru[10], fru[8], fru[9], fru[10],
fru[11], fru[12], fru[13], fru[11], fru[12], fru[13],
fru[16], fru[17], fru[18], fru[16], fru[17], fru[18],
fru[19], fru[20], fru[21]); fru[19], fru[20], fru[21]);
} else { } else {
seq_printf(seq, seq_printf(seq,
"Serial # : " "Serial # : %c%c%c%c%c%c%c%c%c%c%c%c%c%c\n",
"%c%c%c%c%c%c%c%c%c%c%c%c%c%c\n",
fru[8], fru[9], fru[10], fru[8], fru[9], fru[10],
fru[11], fru[12], fru[13], fru[11], fru[12], fru[13],
fru[14], fru[15], fru[16], fru[14], fru[15], fru[16],
...@@ -1974,8 +1972,7 @@ static int slic_debug_card_show(struct seq_file *seq, void *v) ...@@ -1974,8 +1972,7 @@ static int slic_debug_card_show(struct seq_file *seq, void *v)
{ {
seq_puts(seq, "FRU Information:\n"); seq_puts(seq, "FRU Information:\n");
seq_printf(seq, seq_printf(seq,
" Part # : " " Part # : %c%c%c%c%c%c%c%c\n",
"%c%c%c%c%c%c%c%c\n",
oemfru[0], oemfru[1], oemfru[2], oemfru[0], oemfru[1], oemfru[2],
oemfru[3], oemfru[4], oemfru[5], oemfru[3], oemfru[4], oemfru[5],
oemfru[6], oemfru[7]); oemfru[6], oemfru[7]);
...@@ -2002,20 +1999,17 @@ static int slic_debug_card_show(struct seq_file *seq, void *v) ...@@ -2002,20 +1999,17 @@ static int slic_debug_card_show(struct seq_file *seq, void *v)
{ {
seq_puts(seq, "FRU Information:\n"); seq_puts(seq, "FRU Information:\n");
seq_printf(seq, seq_printf(seq,
" FRU Number : " " FRU Number : %c%c%c%c%c%c%c%c\n",
"%c%c%c%c%c%c%c%c\n",
oemfru[0], oemfru[1], oemfru[2], oemfru[0], oemfru[1], oemfru[2],
oemfru[3], oemfru[4], oemfru[5], oemfru[3], oemfru[4], oemfru[5],
oemfru[6], oemfru[7]); oemfru[6], oemfru[7]);
seq_sprintf(seq, seq_sprintf(seq,
" Part Number : " " Part Number : %c%c%c%c%c%c%c%c\n",
"%c%c%c%c%c%c%c%c\n",
oemfru[8], oemfru[9], oemfru[10], oemfru[8], oemfru[9], oemfru[10],
oemfru[11], oemfru[12], oemfru[13], oemfru[11], oemfru[12], oemfru[13],
oemfru[14], oemfru[15]); oemfru[14], oemfru[15]);
seq_printf(seq, seq_printf(seq,
" EC Level : " " EC Level : %c%c%c%c%c%c%c%c\n",
"%c%c%c%c%c%c%c%c\n",
oemfru[16], oemfru[17], oemfru[18], oemfru[16], oemfru[17], oemfru[18],
oemfru[19], oemfru[20], oemfru[21], oemfru[19], oemfru[20], oemfru[21],
oemfru[22], oemfru[23]); oemfru[22], oemfru[23]);
...@@ -2412,8 +2406,7 @@ static void slic_xmit_fail(struct adapter *adapter, ...@@ -2412,8 +2406,7 @@ static void slic_xmit_fail(struct adapter *adapter,
switch (status) { switch (status) {
case XMIT_FAIL_LINK_STATE: case XMIT_FAIL_LINK_STATE:
dev_err(&adapter->netdev->dev, dev_err(&adapter->netdev->dev,
"reject xmit skb[%p: %x] linkstate[%s] " "reject xmit skb[%p: %x] linkstate[%s] adapter[%s:%d] card[%s:%d]\n",
"adapter[%s:%d] card[%s:%d]\n",
skb, skb->pkt_type, skb, skb->pkt_type,
SLIC_LINKSTATE(adapter->linkstate), SLIC_LINKSTATE(adapter->linkstate),
SLIC_ADAPTER_STATE(adapter->state), SLIC_ADAPTER_STATE(adapter->state),
...@@ -2428,8 +2421,7 @@ static void slic_xmit_fail(struct adapter *adapter, ...@@ -2428,8 +2421,7 @@ static void slic_xmit_fail(struct adapter *adapter,
break; break;
case XMIT_FAIL_HOSTCMD_FAIL: case XMIT_FAIL_HOSTCMD_FAIL:
dev_err(&adapter->netdev->dev, dev_err(&adapter->netdev->dev,
"xmit_start skb[%p] type[%x] No host commands " "xmit_start skb[%p] type[%x] No host commands available\n", skb, skb->pkt_type);
"available\n", skb, skb->pkt_type);
break; break;
} }
} }
...@@ -2642,8 +2634,7 @@ static void slic_interrupt_card_up(u32 isr, struct adapter *adapter, ...@@ -2642,8 +2634,7 @@ static void slic_interrupt_card_up(u32 isr, struct adapter *adapter,
} }
} else if (isr & ISR_XDROP) { } else if (isr & ISR_XDROP) {
dev_err(&dev->dev, dev_err(&dev->dev,
"isr & ISR_ERR [%x] " "isr & ISR_ERR [%x] ISR_XDROP \n", isr);
"ISR_XDROP \n", isr);
} else { } else {
dev_err(&dev->dev, dev_err(&dev->dev,
"isr & ISR_ERR [%x]\n", "isr & ISR_ERR [%x]\n",
...@@ -3269,8 +3260,7 @@ static int slic_card_init(struct sliccard *card, struct adapter *adapter) ...@@ -3269,8 +3260,7 @@ static int slic_card_init(struct sliccard *card, struct adapter *adapter)
if (!peeprom) { if (!peeprom) {
dev_err(&adapter->pcidev->dev, dev_err(&adapter->pcidev->dev,
"eeprom read failed to get memory " "eeprom read failed to get memory bus %d slot %d\n", adapter->busnumber,
"bus %d slot %d\n", adapter->busnumber,
adapter->slotnumber); adapter->slotnumber);
return -ENOMEM; return -ENOMEM;
} else { } else {
......
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