diff options
| author | Souptick Joarder <[email protected]> | 2020-05-18 23:49:51 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-05-19 16:46:37 +0200 |
| commit | c9d7e3da1f3c4cf5dddfc5d7ce4d76d013aba1cc (patch) | |
| tree | d7450eca4ea6ef04656da4921562070a1d2626cc /tools/perf/scripts/python | |
| parent | b03025c57396b23fe2423384c25aa580000e9883 (diff) | |
fpga: dfl: afu: Corrected error handling levels
Corrected error handling goto sequnece. Level put_pages should
be called when pinned pages >= 0 && pinned != npages. Level
free_pages should be called when pinned pages < 0.
Fixes: fa8dda1edef9 ("fpga: dfl: afu: add DFL_FPGA_PORT_DMA_MAP/UNMAP ioctls support")
Signed-off-by: Souptick Joarder <[email protected]>
Acked-by: Wu Hao <[email protected]>
Reviewed-by: Xu Yilun <[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