aboutsummaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-imx-tpm.c
diff options
context:
space:
mode:
authorMichael Kelley <[email protected]>2023-06-09 13:38:21 -0700
committerMartin K. Petersen <[email protected]>2023-06-14 21:32:48 -0400
commit31d16e712bdcaee769de4780f72ff8d6cd3f0589 (patch)
tree6bf37d827386993cdb091dc1d8d7847e0cb06bb1 /drivers/pwm/pwm-imx-tpm.c
parent9dc704dcc09eae7d21b5da0615eb2ed79278f63e (diff)
scsi: storvsc: Always set no_report_opcodes
Hyper-V synthetic SCSI devices do not support the MAINTENANCE_IN SCSI command, so scsi_report_opcode() always fails, resulting in messages like this: hv_storvsc <guid>: tag#205 cmd 0xa3 status: scsi 0x2 srb 0x86 hv 0xc0000001 The recently added support for command duration limits calls scsi_report_opcode() four times as each device comes online, which significantly increases the number of messages logged in a system with many disks. Fix the problem by always marking Hyper-V synthetic SCSI devices as not supporting scsi_report_opcode(). With this setting, the MAINTENANCE_IN SCSI command is not issued and no messages are logged. Signed-off-by: Michael Kelley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-imx-tpm.c')
0 files changed, 0 insertions, 0 deletions