]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hpsa: correct initialization order issue
authorDon Brace <don.brace@microsemi.com>
Fri, 6 May 2016 19:16:15 +0000 (12:16 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 22 May 2016 21:50:30 +0000 (14:50 -0700)
commit8959df7c543ce5a9dd03909624a2f04c40ab408c
treea04e0d11c1392efca58d456b379b510d8dcda30e
parent604d3b906730f10fe7adb5a01552c01a062bcd8a
hpsa: correct initialization order issue

The driver was calling scsi_scan_host before enabling interrupts.

This has gone unnoticed except for customers running in intx mode.
Calling scsi_scan_host before interrupts are enabled causes
"irq XX: nobody cared" messages and the driver to hang.

This patch enables interrupts before the call to scsi_scan_host.

Reported-by: Piotr Karbowski <piotr.karbowski@gmail.com>
Reviewed-by: Scott Teel <scott.teel@microsemi.com>
Reviewed-by: Kevin Barnett <kevin.barnett@microsemi.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Orabug: 23064595
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/scsi/hpsa.c