[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1fuekzyr1.fsf@oracle.com>
Date: Tue, 27 Jun 2017 21:28:50 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Johannes Thumshirn <jthumshirn@...e.de>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
Hannes Reinecke <hare@...e.de>,
Linux Kernel Mailinglist <linux-kernel@...r.kernel.org>,
Linux SCSI Mailinglist <linux-scsi@...r.kernel.org>,
wangyijing@...wei.com
Subject: Re: [PATCH] scsi: sas: scsi_queue_work can fail, so make callers aware
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
Powered by blists - more mailing lists