summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSouptick Joarder <jrdr.linux@gmail.com>2020-07-01 11:47:41 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-01 15:44:26 +0200
commit63ed1e0287abcac9003e7b122badf546d66c9383 (patch)
treea3ddabe5aa68fc140289d75af706c67f23df6268 /tools/perf/scripts/python/bin
parentf9b468a3bd173ad3627ed99c6ba01eae0046c9be (diff)
downloadlinux-63ed1e0287abcac9003e7b122badf546d66c9383.tar.gz
linux-63ed1e0287abcac9003e7b122badf546d66c9383.zip
staging: kpc2000: kpc_dma: Unpin partial pinned pages
There is a bug, when get_user_pages() failed but partially pinned pages are not unpinned and positive numbers are returned instead of -ERRNO. Fixed it. Also, int is more appropriate type for rv. Changed it. Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com> Cc: John Hubbard <jhubbard@nvidia.com> Cc: Dan Carpenter <dan.carpenter@oracle.com> Cc: Bharath Vedartham <linux.bhar@gmail.com> Link: https://lore.kernel.org/r/1593584264-16982-2-git-send-email-jrdr.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions