]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
qla3xxx: Check return code from pci_map_single() in ql_release_to_lrg_buf_free_list...
authorBenjamin Li <benjamin.li@qlogic.com>
Mon, 26 Feb 2007 19:06:40 +0000 (11:06 -0800)
committerJeff Garzik <jeff@garzik.org>
Tue, 27 Feb 2007 09:21:44 +0000 (04:21 -0500)
commit0f8ab89e825f8c9f1c84c558ad7e2e4006aee0d3
tree1e10a407c48ab982032084b5fc72bb62a0d95173
parent3e71f6dd47e7e64461328adcdc3fbad1465b4c2f
qla3xxx: Check return code from pci_map_single() in ql_release_to_lrg_buf_free_list(), ql_populate_free_queue(), ql_alloc_large_buffers(), and ql3xxx_send()

pci_map_single() could fail.  We need to properly check the return
code from pci_map_single().  If we can not properly map this address,
then we should cleanup and return the proper return code.

Signed-off-by: Benjamin Li <benjamin.li@qlogic.com>
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/qla3xxx.c