[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f52f06ff-0666-865a-74b5-e7840fde3a3c@gmx.de>
Date: Wed, 15 Feb 2017 22:40:23 +0100
From: Lino Sanfilippo <LinoSanfilippo@....de>
To: Pavel Belous <Pavel.Belous@...antia.com>,
"David S . Miller" <davem@...emloft.net>
Cc: netdev@...r.kernel.org,
Simon Edelhaus <Simon.Edelhaus@...antia.com>,
Alexey Andriyanov <Alexey.Andriyanov@...antia.com>
Subject: Re: [PATCH net-next 10/13] net: ethernet: aquantia: Checking for
success dma_map_single.
On 15.02.2017 22:23, Lino Sanfilippo wrote:
>
>
> In case of this error you have to undo all mappings that you have
> done so far (i.e the complete frag list and the head buffer).
>
And, since mapping failed, set ret = 0 and handle this case in the
caller, too.
Regards,
Lino
Powered by blists - more mailing lists