[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180626023723.dwsr2b4tdsi6duax@ninjato>
Date: Tue, 26 Jun 2018 11:37:24 +0900
From: Wolfram Sang <wsa@...-dreams.de>
To: Peter Rosin <peda@...ntia.se>
Cc: linux-kernel@...r.kernel.org,
Jonathan Cameron <Jonathan.Cameron@...wei.com>,
Wolfram Sang <wsa+renesas@...g-engineering.com>,
linux-i2c@...r.kernel.org
Subject: Re: [PATCH] i2c: smbus: kill memory leak on emulated and failed DMA
SMBus xfers
On Wed, Jun 20, 2018 at 11:43:23AM +0200, Peter Rosin wrote:
> If DMA safe memory was allocated, but the subsequent I2C transfer
> fails the memory is leaked. Plug this leak.
>
> Fixes: 8a77821e74d6 ("i2c: smbus: use DMA safe buffers for emulated SMBus transactions")
> Signed-off-by: Peter Rosin <peda@...ntia.se>
Applied to for-current, thanks!
Powered by blists - more mailing lists