Re: [PATCH V2] forcedeth: Fix WARNINGS that result when DMAmapping is not checked

From: David Miller
Date: Fri Dec 28 2012 - 18:30:42 EST


From: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
Date: Thu, 27 Dec 2012 21:25:41 -0600

> 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 <eric.dumazet@xxxxxxxxx>
> Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>

Applied, thanks Larry.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/