am53c974: Fix crash during modprobe
authorHannes Reinecke <hare@suse.de>
Fri, 27 Mar 2015 13:31:12 +0000 (14:31 +0100)
committerJames Bottomley <JBottomley@Odin.com>
Fri, 17 Apr 2015 17:13:56 +0000 (10:13 -0700)
commit8041708ed4d993c5466c20926210598afa97194e
treed217c200e75c8acbc09765159038a000d7c2307c
parent16b8528d20607925899b1df93bfd8fbab98d267c
am53c974: Fix crash during modprobe

On systems with shared interrupts the interrupt routine might
be called as soon as the interrupt is enabled.
As this might happen before pci_set_drvdata() is called the
system would crash.

Reported-by: Andreas Brogle <anbro@ok.de>
Tested-by: Andreas Brogle <anbro@ok.de>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/am53c974.c