net: page_pool: don't cast mp param to devmem
page_pool_check_memory_provider() is a generic path and shouldn't assume anything about the actual type of the memory provider argument. It's fine while devmem is the only provider, but cast away the devmem specific binding types to avoid confusion. Reviewed-by:Jakub Kicinski <kuba@kernel.org> Reviewed-by:
Mina Almasry <almasrymina@google.com> Signed-off-by:
Pavel Begunkov <asml.silence@gmail.com> Signed-off-by:
David Wei <dw@davidwei.uk> Link: https://patch.msgid.link/20250204215622.695511-2-dw@davidwei.uk Signed-off-by:
Jakub Kicinski <kuba@kernel.org>
Loading
Please sign in to comment