summaryrefslogtreecommitdiffstats
path: root/include/scsi/iscsi_if.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-06-06 09:42:57 +0200
committerJohannes Berg <johannes.berg@intel.com>2012-06-13 09:00:31 +0200
commitff1ffb850b7ac6d0f1b085208a6630f7584e1015 (patch)
tree415f871e2c642e6cdf602b702794861a6cf4de93 /include/scsi/iscsi_if.h
parentc76fe6d19b8beffe792c390c0bd215d193512f1e (diff)
downloadtalos-obmc-linux-ff1ffb850b7ac6d0f1b085208a6630f7584e1015.tar.gz
talos-obmc-linux-ff1ffb850b7ac6d0f1b085208a6630f7584e1015.zip
iwlwifi: fix dynamic loading
Add locking to the dynamic loading code to prevent corrupting the list if multiple device ever init at the same time (which cannot happen for multiple PCI devices, but could happen when different busses init concurrently.) Also remove a device from the list when it stops so the list isn't left corrupted, including a fix from Don to not crash when it was never added. Reviewed-by: Donald H Fry <donald.h.fry@intel.com> Tested-by: Donald H Fry <donald.h.fry@intel.com> Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Don Fry <donald.h.fry@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/scsi/iscsi_if.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud