]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/oa: Use vma_pages() helper function in xe_oa_mmap()
authorThorsten Blum <thorsten.blum@toblux.com>
Mon, 19 Aug 2024 09:57:52 +0000 (11:57 +0200)
committerAshutosh Dixit <ashutosh.dixit@intel.com>
Mon, 19 Aug 2024 14:41:56 +0000 (07:41 -0700)
commit6841a26e2c6715dc52a1cdd888e958dd2a92a5bc
tree0e4f1238abb9d7afe68682fb2c22d4d09a0c1082
parentcb8f81c1753187995b7a43e79c12959f14eb32d3
drm/xe/oa: Use vma_pages() helper function in xe_oa_mmap()

Use the vma_pages() helper function and remove the following
Coccinelle/coccicheck warning reported by vma_pages.cocci:

  WARNING: Consider using vma_pages helper on vma

Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240819095751.539645-2-thorsten.blum@toblux.com
drivers/gpu/drm/xe/xe_oa.c