This series contains few clean up, minor bug fixes and Convert get_user_pages() to pin_user_pages().
I'm compile tested this, but unable to run-time test, so any testing help is much appriciated. v2: Addressed few review comments and compile issue. Patch[1/2] from v1 split into 2 in v2. v3: Address review comment. Add review tag. Cc: John Hubbard <jhubb...@nvidia.com> Cc: Boris Ostrovsky <boris.ostrov...@oracle.com> Cc: Paul Durrant <xadimg...@gmail.com> Souptick Joarder (3): xen/privcmd: Corrected error handling path xen/privcmd: Mark pages as dirty xen/privcmd: Convert get_user_pages*() to pin_user_pages*() drivers/xen/privcmd.c | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) -- 1.9.1