linux_dsm_epyc7002/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
sas_dump.c
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
sas_port.c
sas_scsi_host.c scsi: make eh_eflags persistent 2017-04-06 13:07:33 -04:00
sas_task.c