aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/trigger/stm32-timer-trigger.c
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2017-08-10 09:23:31 +0000
committerChristoph Hellwig <[email protected]>2017-08-10 17:53:38 +0000
commit634b8325905031eeafa61951623681ebc1329385 (patch)
treec82f4ec33d826a88182e7aa62cf51b3b438b0d9a /drivers/iio/trigger/stm32-timer-trigger.c
parentnvme-pci: fix CMB sysfs file removal in reset path (diff)
downloadkernel-634b8325905031eeafa61951623681ebc1329385.tar.gz
kernel-634b8325905031eeafa61951623681ebc1329385.zip
nvme: fix nvme reset command timeout handling
We need to return an error if a timeout occurs on any NVMe command during initialization. Without this, the nvme reset work will be stuck. A timeout will have a negative error code, meaning we need to stop initializing the controller. All postitive returns mean the controller is still usable. bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=196325 Signed-off-by: Keith Busch <[email protected]> Cc: Martin Peres <[email protected]> [jth consolidated cleanup path ] Signed-off-by: Johannes Thumshirn <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions