OSDN Git Service

scsi: lpfc: convert info messages to standard messages
authorDick Kennedy <dick.kennedy@broadcom.com>
Wed, 23 Aug 2017 23:55:34 +0000 (16:55 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 02:29:36 +0000 (22:29 -0400)
Transitioned some informational discovery messages to now always be
displayed when log_verbose is set.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_ct.c

index 9c0c146..3341768 100644 (file)
@@ -955,7 +955,7 @@ lpfc_cmpl_ct_cmd_gft_id(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
                CTrsp = (struct lpfc_sli_ct_request *)outp->virt;
                fc4_data_0 = be32_to_cpu(CTrsp->un.gft_acc.fc4_types[0]);
                fc4_data_1 = be32_to_cpu(CTrsp->un.gft_acc.fc4_types[1]);
-               lpfc_printf_vlog(vport, KERN_ERR, LOG_DISCOVERY,
+               lpfc_printf_vlog(vport, KERN_INFO, LOG_DISCOVERY,
                                 "3062 DID x%06x GFT Wd0 x%08x Wd1 x%08x\n",
                                 did, fc4_data_0, fc4_data_1);
 
@@ -969,7 +969,7 @@ lpfc_cmpl_ct_cmd_gft_id(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
                                ndlp->nlp_fc4_type |= NLP_FC4_FCP;
                        if (fc4_data_1 &  LPFC_FC4_TYPE_BITMASK)
                                ndlp->nlp_fc4_type |= NLP_FC4_NVME;
-                       lpfc_printf_vlog(vport, KERN_ERR, LOG_DISCOVERY,
+                       lpfc_printf_vlog(vport, KERN_INFO, LOG_DISCOVERY,
                                         "3064 Setting ndlp %p, DID x%06x with "
                                         "FC4 x%08x, Data: x%08x x%08x\n",
                                         ndlp, did, ndlp->nlp_fc4_type,