Thread (8 messages) read the whole thread 8 messages, 3 authors, 2013-10-28

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

From: Venkat Venkatsubra <hidden>
Date: 2013-10-28 14:23:09
Also in: lkml

-----Original Message-----
From: David Miller [mailto:davem@davemloft.net] 
Sent: Sunday, October 27, 2013 11:27 PM
To: ben@decadent.org.uk
Cc: Venkat Venkatsubra; linux-kernel@vger.kernel.org; rds-devel@oss.oracle.com; netdev@vger.kernel.org
Subject: Re: [PATCH 7/8] rds: Pass pointers to virt_to_page(), not integers

From: Ben Hutchings <redacted>
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 <redacted>
This looks fine:

Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Venkat Venkatsubra <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help