Re: [PATCH] uio-hv-generic: store physical addresses instead of virtual

From: Arnd Bergmann
Date: Fri Dec 09 2016 - 15:38:30 EST


On Friday, December 9, 2016 9:28:44 AM CET Stephen Hemminger wrote:
> On Fri, 9 Dec 2016 12:44:40 +0100
> Arnd Bergmann <arnd@xxxxxxxx> wrote:

> > Fixes: 95096f2fbd10 ("uio-hv-generic: new userspace i/o driver for VMBus")
> > Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
>
> Thanks, the code was inherited from outside, and only tested on x86_64.
> Not sure which platform and GCC version generates the warning, was this just W=1?
>
> Acked-by: Stephen Hemminger <sthemmin@xxxxxxxxxxxxx>

This was a regular warning with a randconfig build on arm32, but
it happens on any 32-bit architecture when CONFIG_PHYS_ADDR_T_64BIT
is enabled.

Arnd