[PATCH v4 16/21] staging: vme_user: replace deprecated mmap hook with mmap_prepare
Vlastimil Babka (SUSE)
vbabka at kernel.org
Wed Mar 25 03:34:54 PDT 2026
On 3/20/26 23:39, Lorenzo Stoakes (Oracle) wrote:
> The f_op->mmap interface is deprecated, so update driver to use its
> successor, mmap_prepare.
>
> The driver previously used vm_iomap_memory(), so this change replaces it
> with its mmap_prepare equivalent, mmap_action_simple_ioremap().
>
> Functions that wrap mmap() are also converted to wrap mmap_prepare()
> instead.
>
> Also update the documentation accordingly.
>
> Reviewed-by: Suren Baghdasaryan <surenb at google.com>
> Signed-off-by: Lorenzo Stoakes (Oracle) <ljs at kernel.org>
Acked-by: Vlastimil Babka (SUSE) <vbabka at kernel.org>
More information about the linux-afs
mailing list