diff options
| author | Souptick Joarder <[email protected]> | 2020-07-01 11:47:41 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-07-01 15:44:26 +0200 |
| commit | 63ed1e0287abcac9003e7b122badf546d66c9383 (patch) | |
| tree | a3ddabe5aa68fc140289d75af706c67f23df6268 /tools/perf/scripts/python | |
| parent | f9b468a3bd173ad3627ed99c6ba01eae0046c9be (diff) | |
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 <[email protected]>
Cc: John Hubbard <[email protected]>
Cc: Dan Carpenter <[email protected]>
Cc: Bharath Vedartham <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions