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

2019-09-05 Thread Sasha Levin
On Wed, Sep 04, 2019 at 04:23:27PM +0200, Jiri Kosina wrote: On Tue, 3 Sep 2019, Dexuan Cui wrote: > Hi Jiri, Benjamin, 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. Hi Jiri,

RE: [PATCH] HID: hyperv: Use in-place iterator API in the channel callback

2019-09-04 Thread Jiri Kosina
On Tue, 3 Sep 2019, Dexuan Cui wrote: > > Hi Jiri, Benjamin, 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. > > Hi Jiri, Benjamin, > Are you OK if this patch for the Hyper-V

RE: [PATCH] HID: hyperv: Use in-place iterator API in the channel callback

2019-09-02 Thread Dexuan Cui
ang > ; KY Srinivasan ; Michael > Kelley > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; Dexuan Cui > > Subject: [PATCH] HID: hyperv: Use in-place iterator API in the channel > callback > > Simplify the ring buffer handling with the in-place API. > > Al

[PATCH] HID: hyperv: 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 Jiri, Benjamin, can this patch go through Sasha's hyperv tree: