diff options
author | Dexuan Cui <decui@microsoft.com> | 2019-08-20 03:01:23 +0000 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2019-08-20 11:28:04 -0400 |
commit | d09bc83640d524b8467a660db7b1d15e6562a1de (patch) | |
tree | ccefd39bd08c33771b5a0dfac1d2beb8b7466dd0 /tools | |
parent | 16c75963723dfd8d7ca719527052f16be7258a23 (diff) |
Input: hyperv-keyboard: 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>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions