kernel-fxtec-pro1x/drivers/net/xen-netback
Ian Campbell dc5e7a811d xen: netback: fix printf format string warning
drivers/net/xen-netback/netback.c: In function ‘xenvif_tx_build_gops’:
drivers/net/xen-netback/netback.c:1253:8: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat=]
        (txreq.offset&~PAGE_MASK) + txreq.size);
        ^

PAGE_MASK's type can vary by arch, so a cast is needed.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
----
v2: Cast to unsigned long, since PAGE_MASK can vary by arch.
Acked-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-06-01 12:03:04 -07:00
..
common.h xen-netback: making the bandwidth limiter runtime settable 2015-03-20 12:55:15 -04:00
interface.c xen-netback: making the bandwidth limiter runtime settable 2015-03-20 12:55:15 -04:00
Makefile
netback.c xen: netback: fix printf format string warning 2015-06-01 12:03:04 -07:00
xenbus.c xen/netback: Properly initialize credit_bytes 2015-05-27 12:56:55 -04:00