diff options
author | Bartlomiej Dudek <bartlomiej.dudek@intel.com> | 2018-02-01 10:52:20 -0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-02-01 15:43:30 -0700 |
commit | 6391214f4d80e32caf622bacab64ed99ed43e1eb (patch) | |
tree | 15f30d65646aa9ccfe380219f72229ddfd6bc700 /drivers/w1 | |
parent | aca7f4fc320b5a507da4a41454582440f65cde4c (diff) |
IB/hfi1: Do not override given pcie_pset value
During PCIe Gen 3 transistion, pcie_pset is read and might be overridden
to a default value(i.e. 255) in do_pcie_gen3_transition() routine.
If the pcie_pset value is overridden then this new value will be used
during initialization of next adapter on a different card.
Introducing a new local variable to avoid modification of pcie_pset
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Bartlomiej Dudek <bartlomiej.dudek@intel.com>
Signed-off-by: Patel Jay P <jay.p.patel@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions