Re: [PATCH] scsi: sas: scsi_queue_work can fail, so make callers aware

From: Martin K. Petersen
Date: Tue Jun 27 2017 - 21:29:41 EST



Johannes,

> libsas uses scsi_queue_work() to queue it's 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.

Applied to 4.13/scsi-queue, thanks!

--
Martin K. Petersen Oracle Linux Engineering