aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti/davinci_emac.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2018-05-21 11:45:53 -0700
committerDavid S. Miller <davem@davemloft.net>2018-05-21 16:17:10 -0400
commitbf2ce3fdf314cd181908b55a4d6c58817674a062 (patch)
treeebd1bf51262a3492f47d05098e54cc605a1c6fac /drivers/net/ethernet/ti/davinci_emac.c
parentnet: ethernet: ti: cpts: Fix timestamp print (diff)
downloadlinux-dev-bf2ce3fdf314cd181908b55a4d6c58817674a062.tar.xz
linux-dev-bf2ce3fdf314cd181908b55a4d6c58817674a062.zip
net: ethernet: ti: cpsw: Fix cpsw_add_ch_strings() printk format
When building on a 64-bit host we will get the following warning: drivers/net/ethernet/ti/cpsw.c: In function 'cpsw_add_ch_strings': drivers/net/ethernet/ti/cpsw.c:1284:19: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] "%s DMA chan %d: %s", rx_dir ? "Rx" : "Tx", ~^ %ld Fix this by using an %ld format and casting to long. Fixes: e05107e6b747 ("net: ethernet: ti: cpsw: add multi queue support") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/davinci_emac.c')
0 files changed, 0 insertions, 0 deletions