Message ID | 20210914105539.6942-2-d.bogdanov@yadro.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | efct fixes & improvements | expand |
Looks good. Thanks. Reviewed-by: Ram Vegesna <ram.vegesna@broadcom.com> On Tue, Sep 14, 2021 at 4:25 PM Dmitry Bogdanov <d.bogdanov@yadro.com> wrote: > > Similar to other state machine traces and to make debug easier add the > state name to nport sm trace printout. > > Signed-off-by: Dmitry Bogdanov <d.bogdanov@yadro.com> > --- > drivers/scsi/elx/libefc/efc.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/scsi/elx/libefc/efc.h b/drivers/scsi/elx/libefc/efc.h > index 927016283f41..468ff3cc9c00 100644 > --- a/drivers/scsi/elx/libefc/efc.h > +++ b/drivers/scsi/elx/libefc/efc.h > @@ -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__ */ > -- > 2.25.1 >
diff --git a/drivers/scsi/elx/libefc/efc.h b/drivers/scsi/elx/libefc/efc.h index 927016283f41..468ff3cc9c00 100644 --- a/drivers/scsi/elx/libefc/efc.h +++ b/drivers/scsi/elx/libefc/efc.h @@ -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__ */
Similar to other state machine traces and to make debug easier add the state name to nport sm trace printout. Signed-off-by: Dmitry Bogdanov <d.bogdanov@yadro.com> --- drivers/scsi/elx/libefc/efc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)