diff options
| author | Michael Brown | 2010-09-16 04:23:45 +0200 |
|---|---|---|
| committer | Michael Brown | 2010-09-16 04:30:45 +0200 |
| commit | 09555826e9737cbe94be99331934d2e6a1e6c8be (patch) | |
| tree | 2e356c0db029cbba37519b912e8b4edc8f51eb88 /src/include/ipxe/blockdev.h | |
| parent | [scsi] Include sense key within error number reported to user (diff) | |
| download | ipxe-09555826e9737cbe94be99331934d2e6a1e6c8be.tar.gz ipxe-09555826e9737cbe94be99331934d2e6a1e6c8be.tar.xz ipxe-09555826e9737cbe94be99331934d2e6a1e6c8be.zip | |
[infiniband] Always call ib_link_state_changed() in ib_smc_update()
ib_smc_update() potentially updates the Infiniband port state, and so
should almost always be followed by a call to ib_link_state_changed().
The one exception is the call made to ib_smc_update() before the
device is registered.
Fix by removing explicit calls to ib_link_state_changed() from drivers
using ib_smc_update(), including a call to ib_link_state_changed()
within ib_smc_update(), and creating a separate ib_smc_init() for use
prior to device registration.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/blockdev.h')
0 files changed, 0 insertions, 0 deletions
