Re: [Xen-devel] [PATCH 1/1] xen-netback: remove compilation warning

2015-02-27 Thread pmarzo
On jue, 2015-02-26 at 11:30 -0500, David Miller wrote: > From: pedro > Date: Thu, 26 Feb 2015 09:25:41 +0100 > > > From: pmarzo > > > > offset and size are of type uint16_t so the %lu gives a warning > > A %u specifier, the same used in size makes gcc happy > > Not sure if a %x would be more c

Re: [Xen-devel] [PATCH 1/1] xen-netback: remove compilation warning

2015-02-26 Thread David Miller
From: pedro Date: Thu, 26 Feb 2015 09:25:41 +0100 > From: pmarzo > > offset and size are of type uint16_t so the %lu gives a warning > A %u specifier, the same used in size makes gcc happy > Not sure if a %x would be more correct > > Signed-off-by: Pedro Marzo Perez This patch actually adds

[Xen-devel] [PATCH 1/1] xen-netback: remove compilation warning

2015-02-26 Thread pedro
From: pmarzo offset and size are of type uint16_t so the %lu gives a warning A %u specifier, the same used in size makes gcc happy Not sure if a %x would be more correct Signed-off-by: Pedro Marzo Perez --- drivers/net/xen-netback/netback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [Xen-devel] [PATCH 1/1] xen-netback: remove compilation warning

2015-02-26 Thread Wei Liu
On Thu, Feb 26, 2015 at 09:25:41AM +0100, pedro wrote: > From: pmarzo > > offset and size are of type uint16_t so the %lu gives a warning > A %u specifier, the same used in size makes gcc happy > Not sure if a %x would be more correct > > Signed-off-by: Pedro Marzo Perez Acked-by: Wei Liu Th