Re: [PATCH v3 2/2] net: macb: DMA-unmap full rx-buffer

From: David Miller
Date: Wed Mar 05 2014 - 20:48:09 EST


From: Soren Brinkmann <soren.brinkmann@xxxxxxxxxx>
Date: Tue, 4 Mar 2014 08:46:40 -0800

> When allocating RX buffers a fixed size is used, while freeing is based
> on actually received bytes, resulting in the following kernel warning
> when CONFIG_DMA_API_DEBUG is enabled:
...
> Fixing this by passing the same size which is passed during mapping the
> memory to the unmap function as well.
>
> Signed-off-by: Soren Brinkmann <soren.brinkmann@xxxxxxxxxx>

Applied.
--
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/