linux-sg2042/drivers/net/qlge
Breno Leitao 4f9a91c812 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 <leitao@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-01-25 15:46:58 -08:00
..
Makefile qlge: New Qlogic 10Gb Ethernet Driver. 2008-09-18 11:56:28 -04:00
qlge.h qlge: Change version to v1.00.00.23.00.00-01. 2009-11-11 19:12:12 -08:00
qlge_dbg.c qlge: Add ethtool register dump function. 2009-10-21 21:45:41 -07:00
qlge_ethtool.c qlge: Add ethtool self-test. 2009-11-02 04:25:40 -08:00
qlge_main.c qlge: Only free resources if they were allocated 2010-01-25 15:46:58 -08:00
qlge_mpi.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-11-08 23:00:54 -08:00