diff options
author | Dotan Barak <dotanb@dev.mellanox.co.il> | 2012-10-21 14:59:23 (GMT) |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-10-23 16:03:37 (GMT) |
commit | 41929ed2656bab8af1734bf5d0088385e72e294f (patch) | |
tree | 014c8f50383a1ccffdfb1d387aa1666727304252 /drivers/infiniband | |
parent | 3cf164c8dee834cef9dac4e7325f89a207339ac8 (diff) | |
download | linux-41929ed2656bab8af1734bf5d0088385e72e294f.tar.xz |
mlx4_core: Perform correct resource cleanup if mlx4_QUERY_ADAPTER() fails
Fixed the resource cleanup to act correctly and prevent a kernel oops when
mlx4_QUERY_ADAPTER() fails.
Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Reviewed-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions