From 5d5b44b5f484c735233a65347ebb1b9ff816760d Mon Sep 17 00:00:00 2001 From: Monam Agarwal Date: Fri, 28 Feb 2014 00:43:20 +0530 Subject: [PATCH] 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: Monam Agarwal Signed-off-by: Greg Kroah-Hartman --- drivers/staging/slicoss/slicoss.c | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c index e0de4979e1cb..291e07cf902a 100644 --- a/drivers/staging/slicoss/slicoss.c +++ b/drivers/staging/slicoss/slicoss.c @@ -1917,16 +1917,14 @@ static int slic_debug_card_show(struct seq_file *seq, void *v) if (config->OEMFruFormat == VENDOR4_FRU_FORMAT) { seq_printf(seq, - "Serial # : " - "%c%c%c%c%c%c%c%c%c%c%c%c\n", + "Serial # : %c%c%c%c%c%c%c%c%c%c%c%c\n", fru[8], fru[9], fru[10], fru[11], fru[12], fru[13], fru[16], fru[17], fru[18], fru[19], fru[20], fru[21]); } else { seq_printf(seq, - "Serial # : " - "%c%c%c%c%c%c%c%c%c%c%c%c%c%c\n", + "Serial # : %c%c%c%c%c%c%c%c%c%c%c%c%c%c\n", fru[8], fru[9], fru[10], fru[11], fru[12], fru[13], fru[14], fru[15], fru[16], @@ -1974,8 +1972,7 @@ static int slic_debug_card_show(struct seq_file *seq, void *v) { seq_puts(seq, "FRU Information:\n"); seq_printf(seq, - " Part # : " - "%c%c%c%c%c%c%c%c\n", + " Part # : %c%c%c%c%c%c%c%c\n", oemfru[0], oemfru[1], oemfru[2], oemfru[3], oemfru[4], oemfru[5], oemfru[6], oemfru[7]); @@ -2002,20 +1999,17 @@ static int slic_debug_card_show(struct seq_file *seq, void *v) { seq_puts(seq, "FRU Information:\n"); seq_printf(seq, - " FRU Number : " - "%c%c%c%c%c%c%c%c\n", + " FRU Number : %c%c%c%c%c%c%c%c\n", oemfru[0], oemfru[1], oemfru[2], oemfru[3], oemfru[4], oemfru[5], oemfru[6], oemfru[7]); seq_sprintf(seq, - " Part Number : " - "%c%c%c%c%c%c%c%c\n", + " Part Number : %c%c%c%c%c%c%c%c\n", oemfru[8], oemfru[9], oemfru[10], oemfru[11], oemfru[12], oemfru[13], oemfru[14], oemfru[15]); seq_printf(seq, - " EC Level : " - "%c%c%c%c%c%c%c%c\n", + " EC Level : %c%c%c%c%c%c%c%c\n", oemfru[16], oemfru[17], oemfru[18], oemfru[19], oemfru[20], oemfru[21], oemfru[22], oemfru[23]); @@ -2412,8 +2406,7 @@ static void slic_xmit_fail(struct adapter *adapter, switch (status) { case XMIT_FAIL_LINK_STATE: dev_err(&adapter->netdev->dev, - "reject xmit skb[%p: %x] linkstate[%s] " - "adapter[%s:%d] card[%s:%d]\n", + "reject xmit skb[%p: %x] linkstate[%s] adapter[%s:%d] card[%s:%d]\n", skb, skb->pkt_type, SLIC_LINKSTATE(adapter->linkstate), SLIC_ADAPTER_STATE(adapter->state), @@ -2428,8 +2421,7 @@ 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; } } @@ -2642,8 +2634,7 @@ 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", @@ -3269,8 +3260,7 @@ static int slic_card_init(struct sliccard *card, struct adapter *adapter) if (!peeprom) { dev_err(&adapter->pcidev->dev, - "eeprom read failed to get memory " - "bus %d slot %d\n", adapter->busnumber, + "eeprom read failed to get memory bus %d slot %d\n", adapter->busnumber, adapter->slotnumber); return -ENOMEM; } else { -- 2.20.1