From: Larry Finger Date: Thu, 27 Dec 2012 17:25:41 +0000 (+0000) Subject: forcedeth: Fix WARNINGS that result when DMA mapping is not checked X-Git-Tag: v3.8-rc3~8^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=612a7c4e73f3306f3b599c60681194c1931a2dbc;p=pandora-kernel.git forcedeth: Fix WARNINGS that result when DMA mapping is not checked With 3.8-rc1, the first call of pci_map_single() that is not checked with a corresponding pci_dma_mapping_error() call results in a warning with a splat as follows: WARNING: at lib/dma-debug.c:933 check_unmap+0x480/0x950() Hardware name: HP Pavilion dv2700 Notebook PC forcedeth 0000:00:0a.0: DMA-API: device driver failed to check map error[device address=0x00000000b176e002] [size=90 bytes] [mapped as single] Reviewed-by: Eric Dumazet Signed-off-by: Larry Finger Signed-off-by: David S. Miller --- Reading git-diff-tree failed