]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qedi: Convert to hotplug state machine
authorThomas Gleixner <tglx@linutronix.de>
Sat, 24 Dec 2016 11:34:02 +0000 (12:34 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 25 Dec 2016 09:47:18 +0000 (10:47 +0100)
commitcd8df00643e0fe6549c7b0dee60f655de013f089
tree507e4dda708730edcec87ac4f76c5e969288d8ec
parentdc5ea7b7a688a76043796cce816af921e0b90b3d
scsi: qedi: Convert to hotplug state machine

The CPU hotplug code is a trainwreck. It leaks a notifier in case of driver
registration error and the per cpu loop is racy against cpu hotplug. Aside
of that the driver should have been written and merged with the new state
machine interfaces in the first place.

Mop up the mess and Convert it to the hotplug state machine.

Signed-off-by: Thomas Grumpy Gleixner <tglx@linutronix.de>
Cc: Nilesh Javali <nilesh.javali@cavium.com>
Cc: Adheer Chandravanshi <adheer.chandravanshi@qlogic.com>
Cc: Chad Dupuis <chad.dupuis@cavium.com>
Cc: Saurav Kashyap <saurav.kashyap@cavium.com>
Cc: Arun Easi <arun.easi@cavium.com>
Cc: Manish Rangankar <manish.rangankar@cavium.com>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qedi/qedi_main.c