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

Venkat Venkatsubra venkatvenkatsubra at yahoo.com
Mon Oct 28 07:02:59 PDT 2013






On Sunday, October 27, 2013 11:27 PM, David Miller <davem at davemloft.net> wrote:
 
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>
Acked-by: Venkat Venkatsubra
 <venkat.x.venkatsubra at oracle.com>

_______________________________________________
rds-devel mailing list
rds-devel at oss.oracle.com
https://oss.oracle.com/mailman/listinfo/rds-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/rds-devel/attachments/20131028/4b93ef63/attachment.html 


More information about the rds-devel mailing list