Skip to content
Commit d09bc836 authored by Dexuan Cui's avatar Dexuan Cui Committed by Sasha Levin
Browse files

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: default avatarDexuan Cui <decui@microsoft.com>
Acked-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 16c75963
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment