Staging: slicoss: Fix quoted string split across lines
authorMonam Agarwal <monamagarwal123@gmail.com>
Thu, 27 Feb 2014 19:13:20 +0000 (00:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Feb 2014 23:24:20 +0000 (15:24 -0800)
This patch fixes the following checkpatch.pl issues in slicoss.c
WARNING: quoted string split across lines

Signed-off-by: Monam Agarwal <monamagarwal123@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/slicoss/slicoss.c

index e0de4979e1cba75f10ce75f7d26076def1bc2d4f..291e07cf902ab75077ca78457307a1f960c398d8 100644 (file)
@@ -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 {
This page took 0.028992 seconds and 5 git commands to generate.