diff options
author | Ralph Campbell <ralph.campbell@qlogic.com> | 2010-07-01 22:25:45 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-07-06 23:14:04 +0200 |
commit | 756a33b8dc3ed5c27685a130339de8a894d528a7 (patch) | |
tree | 1434ca4afa40f03d935b6563a4f4acdd4aef24bb /firmware | |
parent | IB/qib: Completion queue callback needs to be single threaded (diff) | |
download | linux-756a33b8dc3ed5c27685a130339de8a894d528a7.tar.xz linux-756a33b8dc3ed5c27685a130339de8a894d528a7.zip |
IB/qib: Clean up properly if qib_init() fails
If qib_init() fails, the driver fails to free memory, unregister
device files, and unregister with the PCIe framework. The driver will
unload without error but a subsequent driver load will cause the
system to panic. This was found by changing the 7220 code to load the
serdes microcode separately and not installing the microcode file.
Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions