linux/drivers/net/ethernet/qlogic/qede
Arnd Bergmann 84fd1b191a qede: hide 32-bit compile warning
The addition of the per-queue statistics introduced a harmless warning
on all 32-bit architectures:

drivers/net/ethernet/qlogic/qede/qede_ethtool.c: In function 'qede_get_ethtool_stats':
drivers/net/ethernet/qlogic/qede/qede_ethtool.c:244:31: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
      buf[cnt++] = QEDE_TQSTATS_DATA(edev,
                               ^
drivers/net/ethernet/qlogic/qede/qede_ethtool.c:244:22: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
      buf[cnt++] = QEDE_TQSTATS_DATA(edev,
                      ^
This changes the cast to 'void *' to shut up the warning, which
avoids the assumptions on the size of the pointer type.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 68db9ec2df ("qede: Add support for per-queue stats.")
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-08-30 23:35:15 -07:00
..
Makefile qede: Add dcbnl support. 2016-06-08 11:11:00 -07:00
qede_dcbnl.c qede: Add dcbnl support. 2016-06-08 11:11:00 -07:00
qede_ethtool.c qede: hide 32-bit compile warning 2016-08-30 23:35:15 -07:00
qede_main.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-08-30 00:54:02 -04:00
qede.h qede: Add support for Tx/Rx-only queues. 2016-08-23 17:11:54 -07:00