summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/port.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2012-04-30 11:57:44 -0700
committerDan Williams <dan.j.williams@intel.com>2012-05-17 12:27:29 -0700
commitfc25f79af321c01a739150ba2c09435cf977a63d (patch)
treeb251a8a7399c9e991d084857b2d1a7b5c07c24e2 /drivers/scsi/isci/port.c
parent08e73be56b6b2e5459638481a54b755ed562ada8 (diff)
downloadop-kernel-dev-fc25f79af321c01a739150ba2c09435cf977a63d.zip
op-kernel-dev-fc25f79af321c01a739150ba2c09435cf977a63d.tar.gz
isci: fix oem parameter validation on single controller skus
OEM parameters [1] are parsed from the platform option-rom / efi driver. By default the driver was validating the parameters for the dual-controller case, but in single-controller case only the first set of parameters may be valid. Limit the validation to the number of actual controllers detected otherwise the driver may fail to parse the valid parameters leading to driver-load or runtime failures. [1] the platform specific set of phy address, configuration,and analog tuning values [stable v3.0+] Cc: <stable@vger.kernel.org> Reported-by: Dave Jiang <dave.jiang@intel.com> Tested-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/port.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud