aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-10-06 23:53:57 +0200
committerDavid S. Miller <davem@davemloft.net>2015-10-08 04:54:15 -0700
commitdfdd7230c5a2d9d675b4e7d6e111a8ead13cfb11 (patch)
treecc0754c9308eb28faa0022819240d2434af0c841 /net/switchdev/switchdev.c
parentd70e53262f5cfc0b88a211ef9cbd1ca5256f4a6b (diff)
downloadlinux-dfdd7230c5a2d9d675b4e7d6e111a8ead13cfb11.tar.gz
linux-dfdd7230c5a2d9d675b4e7d6e111a8ead13cfb11.tar.bz2
linux-dfdd7230c5a2d9d675b4e7d6e111a8ead13cfb11.zip
net: hns: fix 32-bit build warning
The recently added hns driver causes a build warning in ARM allmodconfig builds: drivers/net/ethernet/hisilicon/hns/hnae.c: In function 'handles_show': drivers/net/ethernet/hisilicon/hns/hnae.c:452:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] j, (u64)h->qs[i]->io_base); ^ This removes the pointless cast and prints the pointer address using the "%p" format string in all three locations. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions