linux/drivers/scsi/libsas
Johannes Thumshirn 6d311fa7d2 scsi: sas: scsi_queue_work can fail, so make callers aware
libsas uses scsi_queue_work() to queue its internal event notifications.
scsi_queue_work() can return -EINVAL if the work queue doesn't exist and
it does call queue_work() which can return false if the work is already
queued.

Make the SAS event code capable of returning errors up to the caller,
which is handy when changing to dynamically allocated work in libsas
as well, as discussed here: https://lkml.org/lkml/2017/6/14/121.

[mkp: fixed typo]

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-06-27 21:28:04 -04:00
..
Kconfig
Makefile
sas_ata.c scsi: libsas: fix ata xfer length 2017-03-20 09:45:08 -04:00
sas_discover.c libsas: Fix Kernel Crash in smp_execute_task 2015-03-06 20:51:29 -08:00
sas_dump.c [SCSI] libsas: suspend / resume support 2012-08-24 13:10:23 +04:00
sas_dump.h
sas_event.c scsi: sas: scsi_queue_work can fail, so make callers aware 2017-06-27 21:28:04 -04:00
sas_expander.c block: split scsi_request out of struct request 2017-01-27 15:08:35 -07:00
sas_host_smp.c block: split scsi_request out of struct request 2017-01-27 15:08:35 -07:00
sas_init.c scsi: sas: remove sas_domain_release_transport 2017-04-04 20:16:38 -04:00
sas_internal.h scsi: sas: scsi_queue_work can fail, so make callers aware 2017-06-27 21:28:04 -04:00
sas_phy.c [SCSI] libsas: suspend / resume support 2012-08-24 13:10:23 +04:00
sas_port.c [SCSI] sas: unify the pointlessly separated enums sas_dev_type and sas_device_type 2013-05-10 07:47:52 -07:00
sas_scsi_host.c scsi: make eh_eflags persistent 2017-04-06 13:07:33 -04:00
sas_task.c scsi: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required 2011-10-31 19:31:23 -04:00