forked from Minki/linux
scsi: efct: Add state in nport sm trace printout
Similar to other state machine traces and to make debug easier, add the state name to nport sm trace printout. Link: https://lore.kernel.org/r/20210914105539.6942-2-d.bogdanov@yadro.com Reviewed-by: Ram Vegesna <ram.vegesna@broadcom.com> Signed-off-by: Dmitry Bogdanov <d.bogdanov@yadro.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
a7c0520669
commit
8d4efd0040
@ -47,6 +47,6 @@ enum efc_scsi_del_target_reason {
|
||||
|
||||
#define nport_sm_trace(nport) \
|
||||
efc_log_debug(nport->efc, \
|
||||
"[%s] %-20s\n", nport->display_name, efc_sm_event_name(evt)) \
|
||||
"[%s] %-20s %-20s\n", nport->display_name, __func__, efc_sm_event_name(evt)) \
|
||||
|
||||
#endif /* __EFC_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user