>> Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.Applied to 5.10/scsi-staging, thanks!-- Martin K. Petersen Oracle Linux Engineering