aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorIan Campbell <Ian.Campbell@citrix.com>2015-06-01 11:30:04 +0100
committerDavid S. Miller <davem@davemloft.net>2015-06-01 12:03:04 -0700
commitdc5e7a811d3e57f2b10a4c4c90b175ce498a097d (patch)
treea64cd5e0f6d2d5db7fc3c51239d497cc4d0e02eb /Documentation
parentnet: dsa: Properly propagate errors from dsa_switch_setup_one (diff)
downloadlinux-dev-dc5e7a811d3e57f2b10a4c4c90b175ce498a097d.tar.xz
linux-dev-dc5e7a811d3e57f2b10a4c4c90b175ce498a097d.zip
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions