From: Robert Elliott Date: Thu, 23 Apr 2015 14:34:37 +0000 (-0500) Subject: hpsa: skip free_irq calls if irqs are not allocated X-Git-Tag: omap-for-v4.3/legacy-v2-signed~180^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d498757c5efd41d0add8eb733c6c7e491b51ac8c;p=pandora-kernel.git hpsa: skip free_irq calls if irqs are not allocated If try_soft_reset fails to re-allocate irqs, the error exit starts with free_irq calls, which generate kernel WARN messages since they were already freed a few lines earlier. Jump to the next exit label to skip the free_irq calls. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Robert Elliott Signed-off-by: Don Brace Reviewed-by: Christoph Hellwig Signed-off-by: James Bottomley --- Reading git-diff-tree failed