Skip to content
Commit 975ef94a authored by Pan Bian's avatar Pan Bian Committed by Juergen Gross
Browse files

pvcalls-front: fixes incorrect error handling



kfree() is incorrectly used to release the pages allocated by
__get_free_page() and __get_free_pages(). Use the matching deallocators
i.e., free_page() and free_pages(), respectively.

Signed-off-by: default avatarPan Bian <bianpan2016@163.com>
Reviewed-by: default avatarStefano Stabellini <sstabellini@kernel.org>
Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
parent 12366410
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