From: Benjamin Li Date: Mon, 26 Feb 2007 19:06:40 +0000 (-0800) Subject: qla3xxx: Check return code from pci_map_single() in ql_release_to_lrg_buf_free_list... X-Git-Tag: v2.6.21-rc2~3^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f8ab89e825f8c9f1c84c558ad7e2e4006aee0d3;p=pandora-kernel.git 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 Signed-off-by: Ron Mercer Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed