aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorSouptick Joarder <[email protected]>2020-09-02 02:51:11 +0530
committerGreg Kroah-Hartman <[email protected]>2020-09-07 14:57:31 +0200
commit7f360bec37857bfd5a48cef21d86f58a09a3df63 (patch)
treeb9c803ef5c9d3ae0888ba7905be39cbe955ac43a /tools/perf/scripts/python/syscall-counts.py
parent9f30eb29c514589e16f2999ea070598583d1f6ec (diff)
drivers/virt/fsl_hypervisor: Fix error handling path
First, when memory allocation for sg_list_unaligned failed, there is a bug of calling put_pages() as we haven't pinned any pages. Second, if get_user_pages_fast() failed we should unpin num_pinned pages. This will address both. As part of these changes, minor update in documentation. Fixes: 6db7199407ca ("drivers/virt: introduce Freescale hypervisor management driver") Signed-off-by: Souptick Joarder <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Reviewed-by: John Hubbard <[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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions