]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
hpsa: correct scan wakeup
authorDon Brace <don.brace@microsemi.com>
Sat, 25 Feb 2017 00:03:05 +0000 (16:03 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 6 Mar 2017 20:17:57 +0000 (12:17 -0800)
Prevent multiple instances of hpsa_update_scsi_devices

Signed-off-by: Don Brace <don.brace@microsemi.com>
Orabug: 25605941
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
drivers/scsi/hpsa.c

index 59729fe7d70a165dbaee133ed391a0001b8d8b22..1c6b8cc8612f4287ba4b0573a08128a774f9c839 100644 (file)
@@ -5580,7 +5580,7 @@ static void hpsa_scan_complete(struct ctlr_info *h)
 
        spin_lock_irqsave(&h->scan_lock, flags);
        h->scan_finished = 1;
-       wake_up_all(&h->scan_wait_queue);
+       wake_up(&h->scan_wait_queue);
        spin_unlock_irqrestore(&h->scan_lock, flags);
 }