From: David Miller <davem@davemloft.net>
To: ezequiel.garcia@free-electrons.com
Cc: netdev@vger.kernel.org, thomas.petazzoni@free-electrons.com,
gregory.clement@free-electrons.com, alior@marvell.com, w@1wt.eu,
jason@lakedaemon.net, sebastian.hesselbarth@gmail.com,
andrew@lunn.ch
Subject: Re: [PATCH] net: mvneta: Fix incorrect DMA unmapping size
Date: Fri, 06 Dec 2013 15:44:18 -0500 (EST) [thread overview]
Message-ID: <20131206.154418.1274102072648780863.davem@davemloft.net> (raw)
In-Reply-To: <1386261337-26442-2-git-send-email-ezequiel.garcia@free-electrons.com>
From: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Date: Thu, 5 Dec 2013 13:35:37 -0300
> The current code unmaps the DMA mapping created for rx skb_buff's by
> using the data_size as the the mapping size. This is wrong since the
> correct size to specify should match the size used to create the mapping.
>
> This commit removes the following DMA_API_DEBUG warning:
...
> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Applied, thanks.
prev parent reply other threads:[~2013-12-06 20:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-05 16:35 [PATCH] mvneta: DMA API misusage fix Ezequiel Garcia
2013-12-05 16:35 ` [PATCH] net: mvneta: Fix incorrect DMA unmapping size Ezequiel Garcia
2013-12-06 20:44 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131206.154418.1274102072648780863.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=alior@marvell.com \
--cc=andrew@lunn.ch \
--cc=ezequiel.garcia@free-electrons.com \
--cc=gregory.clement@free-electrons.com \
--cc=jason@lakedaemon.net \
--cc=netdev@vger.kernel.org \
--cc=sebastian.hesselbarth@gmail.com \
--cc=thomas.petazzoni@free-electrons.com \
--cc=w@1wt.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).