[SCSI] lpfc 8.3.4: Remove spaces before newlines in several log messages
authorJames Smart <James.Smart@Emulex.Com>
Sun, 19 Jul 2009 14:01:38 +0000 (10:01 -0400)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 22 Aug 2009 22:51:59 +0000 (17:51 -0500)
Remove spaces before newlines in several log messages

Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/lpfc/lpfc_hbadisc.c
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_mbox.c
drivers/scsi/lpfc/lpfc_scsi.c
drivers/scsi/lpfc/lpfc_sli.c
drivers/scsi/lpfc/lpfc_vport.c

index 491c53fd1ca4978e8e31f4324e2e54daff48819b..e6a47e25b218ff3b44ca3b57deb534907dd8c21f 100644 (file)
@@ -2402,7 +2402,7 @@ lpfc_create_static_vport(struct lpfc_hba *phba)
                if (!new_fc_vport) {
                        lpfc_printf_log(phba, KERN_WARNING, LOG_INIT,
                                "0546 lpfc_create_static_vport failed to"
-                               " create vport \n");
+                               " create vport\n");
                        continue;
                }
 
index 08112e7a83464d7142935b35a336ab6a0a5fd7e0..562d8cee874bf42cb5aefcb6546da7aa7b1d1211 100644 (file)
@@ -580,7 +580,7 @@ lpfc_config_port_post(struct lpfc_hba *phba)
                                KERN_ERR,
                                LOG_INIT,
                                "0456 Adapter failed to issue "
-                               "ASYNCEVT_ENABLE mbox status x%x \n.",
+                               "ASYNCEVT_ENABLE mbox status x%x\n",
                                rc);
                mempool_free(pmb, phba->mbox_mem_pool);
        }
@@ -594,7 +594,7 @@ lpfc_config_port_post(struct lpfc_hba *phba)
 
        if ((rc != MBX_BUSY) && (rc != MBX_SUCCESS)) {
                lpfc_printf_log(phba, KERN_ERR, LOG_INIT, "0435 Adapter failed "
-                               "to get Option ROM version status x%x\n.", rc);
+                               "to get Option ROM version status x%x\n", rc);
                mempool_free(pmb, phba->mbox_mem_pool);
        }
 
@@ -2923,7 +2923,7 @@ lpfc_sli4_async_fcoe_evt(struct lpfc_hba *phba,
        switch (event_type) {
        case LPFC_FCOE_EVENT_TYPE_NEW_FCF:
                lpfc_printf_log(phba, KERN_ERR, LOG_DISCOVERY,
-                       "2546 New FCF found index 0x%x tag 0x%x \n",
+                       "2546 New FCF found index 0x%x tag 0x%x\n",
                        acqe_fcoe->fcf_index,
                        acqe_fcoe->event_tag);
                /*
@@ -2949,7 +2949,7 @@ lpfc_sli4_async_fcoe_evt(struct lpfc_hba *phba,
 
        case LPFC_FCOE_EVENT_TYPE_FCF_TABLE_FULL:
                lpfc_printf_log(phba, KERN_ERR, LOG_SLI,
-                       "2548 FCF Table full count 0x%x tag 0x%x \n",
+                       "2548 FCF Table full count 0x%x tag 0x%x\n",
                        bf_get(lpfc_acqe_fcoe_fcf_count, acqe_fcoe),
                        acqe_fcoe->event_tag);
                break;
@@ -2957,7 +2957,7 @@ lpfc_sli4_async_fcoe_evt(struct lpfc_hba *phba,
        case LPFC_FCOE_EVENT_TYPE_FCF_DEAD:
                lpfc_printf_log(phba, KERN_ERR, LOG_DISCOVERY,
                        "2549 FCF disconnected fron network index 0x%x"
-                       " tag 0x%x \n", acqe_fcoe->fcf_index,
+                       " tag 0x%x\n", acqe_fcoe->fcf_index,
                        acqe_fcoe->event_tag);
                /* If the event is not for currently used fcf do nothing */
                if (phba->fcf.fcf_indx != acqe_fcoe->fcf_index)
index a776f86bbcc3931d97e7e37026033c9aee2bcfea..1ab405902a1879a0f196013c3598614152a73412 100644 (file)
@@ -1893,7 +1893,7 @@ lpfc_dump_fcoe_param(struct lpfc_hba *phba,
                /* dump_fcoe_param failed to allocate memory */
                lpfc_printf_log(phba, KERN_WARNING, LOG_MBOX,
                        "2569 lpfc_dump_fcoe_param: memory"
-                       " allocation failed \n");
+                       " allocation failed\n");
                return 1;
        }
 
index 6ba2c3bae2a3708ef4159d26ffba5fe7f4f0a698..61d089703806f92c385af77fc88b34c630bd552c 100644 (file)
@@ -2142,7 +2142,7 @@ lpfc_handle_fcp_err(struct lpfc_vport *vport, struct lpfc_scsi_buf *lpfc_cmd,
        } else if (resp_info & RESID_OVER) {
                lpfc_printf_vlog(vport, KERN_WARNING, LOG_FCP,
                                 "9028 FCP command x%x residual overrun error. "
-                                "Data: x%x x%x \n", cmnd->cmnd[0],
+                                "Data: x%x x%x\n", cmnd->cmnd[0],
                                 scsi_bufflen(cmnd), scsi_get_resid(cmnd));
                host_status = DID_ERROR;
 
@@ -2843,7 +2843,7 @@ lpfc_queuecommand(struct scsi_cmnd *cmnd, void (*done) (struct scsi_cmnd *))
                                dif_op_str[scsi_get_prot_op(cmnd)]);
                lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG,
                                "9034 BLKGRD: CDB: %02x %02x %02x %02x %02x "
-                               "%02x %02x %02x %02x %02x \n",
+                               "%02x %02x %02x %02x %02x\n",
                                cmnd->cmnd[0], cmnd->cmnd[1], cmnd->cmnd[2],
                                cmnd->cmnd[3], cmnd->cmnd[4], cmnd->cmnd[5],
                                cmnd->cmnd[6], cmnd->cmnd[7], cmnd->cmnd[8],
@@ -2871,7 +2871,7 @@ lpfc_queuecommand(struct scsi_cmnd *cmnd, void (*done) (struct scsi_cmnd *))
                                dif_op_str[scsi_get_prot_op(cmnd)]);
                lpfc_printf_vlog(vport, KERN_WARNING, LOG_BG,
                                 "9039 BLKGRD: CDB: %02x %02x %02x %02x %02x "
-                                "%02x %02x %02x %02x %02x \n",
+                                "%02x %02x %02x %02x %02x\n",
                                 cmnd->cmnd[0], cmnd->cmnd[1], cmnd->cmnd[2],
                                 cmnd->cmnd[3], cmnd->cmnd[4], cmnd->cmnd[5],
                                 cmnd->cmnd[6], cmnd->cmnd[7], cmnd->cmnd[8],
index 62f98b343b8bba1c58a59c54b6940602145ebf45..43cbe336f1f8a5882bf928e1bb9f6d0e1ec2c8f2 100644 (file)
@@ -4304,7 +4304,7 @@ lpfc_sli4_hba_setup(struct lpfc_hba *phba)
         */
        if (lpfc_sli4_read_fcoe_params(phba, mboxq))
                lpfc_printf_log(phba, KERN_ERR, LOG_MBOX | LOG_INIT,
-                       "2570 Failed to read FCoE parameters \n");
+                       "2570 Failed to read FCoE parameters\n");
 
        /* Issue READ_REV to collect vpd and FW information. */
        vpd_size = PAGE_SIZE;
@@ -6326,7 +6326,7 @@ lpfc_sli_async_event_handler(struct lpfc_hba * phba,
                        KERN_ERR,
                        LOG_SLI,
                        "0346 Ring %d handler: unexpected ASYNC_STATUS"
-                       " evt_code 0x%x \n"
+                       " evt_code 0x%x\n"
                        "W0  0x%08x W1  0x%08x W2  0x%08x W3  0x%08x\n"
                        "W4  0x%08x W5  0x%08x W6  0x%08x W7  0x%08x\n"
                        "W8  0x%08x W9  0x%08x W10 0x%08x W11 0x%08x\n"
index 9ba2a01c0e38fddfae74b8326e99a3756ccecdd7..606efa76754821a457439887abbbaccdda1d3c00 100644 (file)
@@ -668,7 +668,7 @@ lpfc_vport_delete(struct fc_vport *fc_vport)
                                lpfc_printf_log(vport->phba, KERN_WARNING,
                                                LOG_VPORT,
                                                "1829 CT command failed to "
-                                               "delete objects on fabric\n");
+                                               "delete objects on fabric\n");
                }
                /* First look for the Fabric ndlp */
                ndlp = lpfc_findnode_did(vport, Fabric_DID);