From: Chad Dupuis Date: Tue, 15 May 2012 18:34:14 +0000 (-0400) Subject: [SCSI] qla2xxx: Handle interrupt registration failures more gracefully. X-Git-Tag: v3.5-rc1~25^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a347ff404d786d044ed09a4ec9a38ca70e8c803;p=pandora-kernel.git [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 Signed-off-by: Chad Dupuis Signed-off-by: James Bottomley --- Reading git-diff-tree failed