summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/hp/Kconfig
diff options
context:
space:
mode:
authorVince Bridgers <vbridgers2013@gmail.com>2014-03-20 20:43:16 -0500
committerDavid S. Miller <davem@davemloft.net>2014-03-24 12:45:00 -0400
commita804ad0e3b4a8302412304a5e9490ea318288cc2 (patch)
treee3bdc0bcc07f8b594ea00a526dce93075d82d6f5 /drivers/net/ethernet/hp/Kconfig
parent8adfc3ae45fa854205608a04e5c71cd1c833579f (diff)
Altera TSE: Correct typecast issue detected by kbuild test robot
This patch addresses a portable pointer arithmetic issue in the original submission found by the kbuild test robot. config: make ARCH=i386 allyesconfig altera_sgdma.c: In function 'sgdma_txphysaddr': >> altera_sgdma.c:393:33: warning: cast from >> pointer to integer of different size [-Wpointer-to-int-cast] dma_addr_t offs = (dma_addr_t)((dma_addr_t)desc - ^ >> altera_sgdma.c:394:5: warning: cast from >> pointer to integer of different size [-Wpointer-to-int-cast] (dma_addr_t)priv->tx_dma_desc); ^ altera_sgdma.c: In function 'sgdma_rxphysaddr': >> altera_sgdma.c:403:33: warning: cast from >> pointer to integer of different size [-Wpointer-to-int-cast] dma_addr_t offs = (dma_addr_t)((dma_addr_t)desc - ^ >> altera_sgdma.c:404:5: warning: cast from >> pointer to integer of different size [-Wpointer-to-int-cast] (dma_addr_t)priv->rx_dma_desc); ^ Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Vince Bridgers <vbridgers2013@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hp/Kconfig')
0 files changed, 0 insertions, 0 deletions