aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorDexuan Cui <[email protected]>2019-08-20 02:56:34 +0000
committerSasha Levin <[email protected]>2019-10-01 14:49:41 -0400
commit6a297c90efa68b2864483193b8bfb0d19478600c (patch)
tree3e5b95a1476883ea3d4f2b650aed84e3ee41680d /lib/memory-notifier-error-inject.c
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff)
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 <[email protected]> Acked-by: Jiri Kosina <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions