Re: [PATCH] i2c: smbus: kill memory leak on emulated and failed DMA SMBus xfers
From: Wolfram Sang
Date: Mon Jun 25 2018 - 22:37:50 EST
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@xxxxxxxxxx>
Applied to for-current, thanks!