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

2019-08-20 Thread Sasha Levin
On Mon, Aug 19, 2019 at 08:18:05PM -0700, dmitry.torok...@gmail.com wrote: On Tue, Aug 20, 2019 at 03:01:23AM +, 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.

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

2019-08-19 Thread dmitry.torok...@gmail.com
On Tue, Aug 20, 2019 at 03:01:23AM +, 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 > --- > > Hi Dmitry, can this patch go through

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

2019-08-19 Thread Dexuan Cui
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 --- Hi Dmitry, can this patch go through Sasha's hyperv tree: