]> 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)
commitc78605dc95fee279871b48b0af538278d082138d
tree507e4dda708730edcec87ac4f76c5e969288d8ec
parent7655e4c4f04197616db26d495b3a3c3751be7a5e
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