aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2018-01-05 09:19:09 -0800
committerRafael J. Wysocki <[email protected]>2018-01-10 01:10:20 +0100
commit203f8c250e2195371d418b1e8466e4caf1a0ed51 (patch)
tree4a9b736baad695ac73ebaa50e0efef6205f8f59d /lib/test-string_helpers.c
parent4bf236a3330e97d275e5848420f7e31948fef07a (diff)
block, scsi: Fix race between SPI domain validation and system suspend
Avoid that the following warning is reported when suspending a system that is using the mptspi driver: WARNING: CPU: 0 PID: 4187 at drivers/scsi/scsi_lib.c:2960 scsi_device_quiesce+0x20/0xb0 EIP: scsi_device_quiesce+0x20/0xb0 Call Trace: spi_dv_device+0x65/0x5f0 [scsi_transport_spi] mptspi_dv_device+0x4d/0x170 [mptspi] mptspi_dv_renegotiate_work+0x49/0xc0 [mptspi] process_one_work+0x190/0x2e0 worker_thread+0x37/0x3f0 kthread+0xcb/0x100 ret_from_fork+0x19/0x24 Fixes: 3a0a529971ec (block, scsi: Make SCSI quiesce and resume work reliably) Reported-by: Woody Suwalski <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Acked-by: Martin K. Petersen <[email protected]> [ rjw : Subject ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions