From: Breno Leitao Date: Mon, 25 Jan 2010 23:46:58 +0000 (-0800) Subject: qlge: Only free resources if they were allocated X-Git-Tag: v2.6.33-rc6~29^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f9a91c81273b66afe0b6a9be460b47581b28246;p=pandora-kernel.git qlge: Only free resources if they were allocated Currently qlge tries to release regions even if they were not allocated. This causes messages like the following in the kernel log Trying to free nonexistent resource <00000000006af400-00000000006af4ff> Trying to free nonexistent resource <00003c04ff9f4000-00003c04ff9f7fff> Trying to free nonexistent resource <00003c04ffc00000-00003c04ffcfffff> This patch fixes the goto logic in order to not release the resources if they were not allocated. Signed-off-by: Breno Leitao Signed-off-by: David S. Miller --- Reading git-diff-tree failed