Re: [PATCH 05/12] cifs: Pass a pointer to virt_to_page()

2023-05-17 Thread Tom Talpey
On 5/11/2023 7:59 AM, Linus Walleij wrote: Like the other calls in this function virt_to_page() expects a pointer, not an integer. However since many architectures implement virt_to_pfn() as a macro, this function becomes polymorphic and accepts both a (unsigned long) and a (void *). Fix this u

[PATCH 05/12] cifs: Pass a pointer to virt_to_page()

2023-05-11 Thread Linus Walleij
Like the other calls in this function virt_to_page() expects a pointer, not an integer. However since many architectures implement virt_to_pfn() as a macro, this function becomes polymorphic and accepts both a (unsigned long) and a (void *). Fix this up with an explicit cast. Signed-off-by: Linu