mirror of https://gitee.com/openkylin/linux.git
scsi: lpfc: Convert existing %pf users to %ps
Convert the remaining %pf users to %ps to prepare for the removal of the
old %pf conversion specifier support.
Fixes: 3235066449
("scsi: lpfc: Migrate to %px and %pf in kernel print calls")
Link: https://lore.kernel.org/r/20190904160423.3865-1-sakari.ailus@linux.intel.com
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
fd807dc471
commit
2d44d165e9
|
@ -6051,7 +6051,7 @@ __lpfc_find_node(struct lpfc_vport *vport, node_filter filter, void *param)
|
||||||
list_for_each_entry(ndlp, &vport->fc_nodes, nlp_listp) {
|
list_for_each_entry(ndlp, &vport->fc_nodes, nlp_listp) {
|
||||||
if (filter(ndlp, param)) {
|
if (filter(ndlp, param)) {
|
||||||
lpfc_printf_vlog(vport, KERN_INFO, LOG_NODE,
|
lpfc_printf_vlog(vport, KERN_INFO, LOG_NODE,
|
||||||
"3185 FIND node filter %pf DID "
|
"3185 FIND node filter %ps DID "
|
||||||
"ndlp x%px did x%x flg x%x st x%x "
|
"ndlp x%px did x%x flg x%x st x%x "
|
||||||
"xri x%x type x%x rpi x%x\n",
|
"xri x%x type x%x rpi x%x\n",
|
||||||
filter, ndlp, ndlp->nlp_DID,
|
filter, ndlp, ndlp->nlp_DID,
|
||||||
|
@ -6062,7 +6062,7 @@ __lpfc_find_node(struct lpfc_vport *vport, node_filter filter, void *param)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
lpfc_printf_vlog(vport, KERN_INFO, LOG_NODE,
|
lpfc_printf_vlog(vport, KERN_INFO, LOG_NODE,
|
||||||
"3186 FIND node filter %pf NOT FOUND.\n", filter);
|
"3186 FIND node filter %ps NOT FOUND.\n", filter);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2712,7 +2712,7 @@ lpfc_sli_handle_mb_event(struct lpfc_hba *phba)
|
||||||
|
|
||||||
/* Mailbox cmd <cmd> Cmpl <cmpl> */
|
/* Mailbox cmd <cmd> Cmpl <cmpl> */
|
||||||
lpfc_printf_log(phba, KERN_INFO, LOG_MBOX | LOG_SLI,
|
lpfc_printf_log(phba, KERN_INFO, LOG_MBOX | LOG_SLI,
|
||||||
"(%d):0307 Mailbox cmd x%x (x%x/x%x) Cmpl %pf "
|
"(%d):0307 Mailbox cmd x%x (x%x/x%x) Cmpl %ps "
|
||||||
"Data: x%x x%x x%x x%x x%x x%x x%x x%x x%x "
|
"Data: x%x x%x x%x x%x x%x x%x x%x x%x x%x "
|
||||||
"x%x x%x x%x\n",
|
"x%x x%x x%x\n",
|
||||||
pmb->vport ? pmb->vport->vpi : 0,
|
pmb->vport ? pmb->vport->vpi : 0,
|
||||||
|
|
Loading…
Reference in New Issue