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

From
Dexuan Cui <decui@microsoft.com>
Date
2019-09-03 00:44:24
Also in
linux-hyperv, lkml
Reply to
Dexuan Cui, 2019-08-20
-----Original Message-----
From: Dexuan Cui <decui@microsoft.com>
Sent: Monday, August 19, 2019 7:57 PM
To: jikos@kernel.org; <redacted>;
linux-input@vger.kernel.org; linux-hyperv@vger.kernel.org; Stephen
Hemminger [off-list ref]; Sasha Levin
[off-list ref]; sashal@kernel.org; Haiyang Zhang
[off-list ref]; KY Srinivasan [off-list ref]; Michael
Kelley [off-list ref]
Cc: gregkh@linuxfoundation.org; <redacted>; Dexuan Cui
[off-list ref]
Subject: [PATCH] HID: hyperv: Use in-place iterator API in the channel callback

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@microsoft.com>
---

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 HID driver goes through the Hyper-V
tree maintained by Sasha Levin? It's a purely Hyper-V change, and I have
been using the patch for several months and there is no regression.

Thanks,
-- Dexuan
Thread (4 messages) 4 messages, 3 authors, last reply 2019-09-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help