commit | d09bc83640d524b8467a660db7b1d15e6562a1de | [log] [tgz] |
---|---|---|
author | Dexuan Cui <decui@microsoft.com> | Tue Aug 20 03:01:23 2019 +0000 |
committer | Sasha Levin <sashal@kernel.org> | Tue Aug 20 11:28:04 2019 -0400 |
tree | ccefd39bd08c33771b5a0dfac1d2beb8b7466dd0 | |
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>