[rds-devel] [PATCH 7/8] rds: Pass pointers to virt_to_page(), not integers

David Miller davem at davemloft.net
Sun Oct 27 21:26:54 PDT 2013


From: Ben Hutchings <ben at decadent.org.uk>
Date: Sun, 27 Oct 2013 21:54:16 +0000

> Most architectures define virt_to_page() as a macro that casts its
> argument such that an argument of type unsigned long will be accepted
> without complaint.  However, the proper type is void *, and passing
> unsigned long results in a warning on MIPS.
> 
> Compile-tested only.
> 
> Signed-off-by: Ben Hutchings <ben at decadent.org.uk>

This looks fine:

Acked-by: David S. Miller <davem at davemloft.net>



More information about the rds-devel mailing list