summaryrefslogtreecommitdiff
path: root/drivers/parport/parport_sunbpp.c
diff options
context:
space:
mode:
authorHuan Yang <link@vivo.com>2024-09-18 10:52:27 +0800
committerVivek Kasireddy <vivek.kasireddy@intel.com>2024-09-20 14:07:33 -0700
commit164fd9efd46531fddfaa933d394569259896642b (patch)
tree21d6db5eb4ca9b9364fd3ef06080038c4ba73c22 /drivers/parport/parport_sunbpp.c
parent18d7de823b7150344d242c3677e65d68c5271b04 (diff)
udmabuf: udmabuf_create pin folio codestyle cleanup
This patch aim to simplify the memfd folio pin during the udmabuf create. No functional changes. This patch create a udmabuf_pin_folios function, in this, do the memfd pin folio and then record each pinned folio, offset. This patch simplify the pinned folio record, iter by each pinned folio, and then record each offset in it. Compare to iter by pgcnt, more readable. Suggested-by: Vivek Kasireddy <vivek.kasireddy@intel.com> Signed-off-by: Huan Yang <link@vivo.com> Acked-by: Vivek Kasireddy <vivek.kasireddy@intel.com> Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240918025238.2957823-5-link@vivo.com
Diffstat (limited to 'drivers/parport/parport_sunbpp.c')
0 files changed, 0 insertions, 0 deletions