Re: [PATCH 0/3] i2c: refactor releasing a DMA safe buffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 24, 2018 at 04:52:43PM +0200, Wolfram Sang wrote:
> Jun Gao correctly identified a problem when freeing a DMA safe buffer [1], many
> thanks for that! However, I'd like to not introduce yet another function. So, I
> thought about changing the existing API to support the case of freeing a buffer
> in case no sync back to the message is needed. Here is what I came up with and
> I like the new way better.
> 
> Once this is set in place, the only existing user so far, has been fixed. It
> was leaking the bounce buffer on error cases before. Tested on a Renesas Lager
> board (R-Car H2).
> 
> Please let me know your thoughts. Jun Gao, does it work for you as well?
> 
> If all goes well, I would like to apply it for -rc2. But I am still open for
> comments, of course.
> 
> Thanks and happy hacking,
> 
>    Wolfram

Applied all to for-current.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux