diff options
author | 2012-05-15 14:34:14 -0400 | |
---|---|---|
committer | 2012-05-22 11:25:50 +0100 | |
commit | 9a347ff404d786d044ed09a4ec9a38ca70e8c803 (patch) | |
tree | 699ff5a897129337de90f7439948b7b54f441195 /tools/perf/scripts/python | |
parent | [SCSI] qla2xxx: Change "Done" to "Entering" in the debug print statement in qla2x00_port_logout. (diff) | |
download | linux-dev-9a347ff404d786d044ed09a4ec9a38ca70e8c803.tar.xz linux-dev-9a347ff404d786d044ed09a4ec9a38ca70e8c803.zip |
[SCSI] qla2xxx: Handle interrupt registration failures more gracefully.
If interrupt registration failed we could crash the machine as we were trying
to deference some pointers which weren't allocated yet. Move the allocation
a little earlier and make some checks to the free resource code to make sure
that we don't try to free a resource that was never allocated.
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions