net: hns: fix 32-bit build warning
authorArnd Bergmann <arnd@arndb.de>
Tue, 6 Oct 2015 21:53:57 +0000 (23:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Oct 2015 11:54:15 +0000 (04:54 -0700)
commitdfdd7230c5a2d9d675b4e7d6e111a8ead13cfb11
treecc0754c9308eb28faa0022819240d2434af0c841
parentd70e53262f5cfc0b88a211ef9cbd1ca5256f4a6b
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>
drivers/net/ethernet/hisilicon/hns/hnae.c