[SCSI] isci: Fix NULL ptr dereference when no firmware is being loaded
authorDave Jiang <dave.jiang@intel.com>
Fri, 27 Jan 2012 19:17:37 +0000 (11:17 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 18 Feb 2012 14:37:00 +0000 (08:37 -0600)
commit6d7938f46f89c9773f9396c1d13b20bbc5c6d95b
treeaac6b7756ec3952caf5a9c1b96822eaacf3cb77c
parenta92fa25c63a788758bd52e9123504d133210c8b7
[SCSI] isci: Fix NULL ptr dereference when no firmware is being loaded

NULL orom ptr passed in for verification which caused page fault.
We will set a default version when we don't have orom struct.

Reported-by: Dan Melnic <dan@seamicro.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/isci/host.c