Re: [PATCH] Input: hyperv-keyboard: Use in-place iterator API in the channel callback

From: Sasha Levin
Date: Tue Aug 20 2019 - 11:29:18 EST


On Mon, Aug 19, 2019 at 08:18:05PM -0700, dmitry.torokhov@xxxxxxxxx wrote:
On Tue, Aug 20, 2019 at 03:01:23AM +0000, Dexuan Cui wrote:
Simplify the ring buffer handling with the in-place API.

Also avoid the dynamic allocation and the memory leak in the channel
callback function.

Signed-off-by: Dexuan Cui <decui@xxxxxxxxxxxxx>
---

Hi Dmitry, can this patch go through Sasha's hyperv tree:
https://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git

This is a purely Hyper-V specific change.

Sure, no problem.

Acked-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>

Queued up for hyperv-fixes, thank you.

--
Thanks,
Sasha