Re: [PATCH v5] scsi: trace: show rtn in string for scsi_dispatch_cmd_error

From: Martin K. Petersen
Date: Mon Jun 09 2025 - 22:00:05 EST



Kassey,

> By default it showed rtn in decimal:
>
> kworker/3:1H-183 [003] .... 51.035474: scsi_dispatch_cmd_error:
> host_no=0 channel=0 id=0 lun=4 data_sgl=1 prot_sgl=0 prot_op=SCSI_PROT
> _NORMAL cmnd=(READ_10 lba=3907214 txlen=1 protect=0 raw=28 00 00 3b 9e 8e 00 00 01 00) rtn=4181

Applied to 6.17/scsi-staging, thanks!

--
Martin K. Petersen