summaryrefslogtreecommitdiffstats
path: root/net/8021q
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2012-01-30 16:55:05 +0000
committerBen Hutchings <bhutchings@solarflare.com>2012-01-30 16:58:45 +0000
commit06e63c57acbb1df7c35ebe846ae416a8b88dfafa (patch)
tree8f94c0c1d4c2347dc0dc5099440d3dc3b19e203f /net/8021q
parent8b1c36b357153f491ddea5363fdd397109c3326f (diff)
downloadtalos-obmc-linux-06e63c57acbb1df7c35ebe846ae416a8b88dfafa.tar.gz
talos-obmc-linux-06e63c57acbb1df7c35ebe846ae416a8b88dfafa.zip
sfc: Use a more sensible cast in efx_rx_buf_offset()
This function returns the page offset of the buffer, which can be calculated based on either its DMA address or its virtual address. It used to use the virtual address and we would cast that to unsigned long, as anything smaller would result in a compiler warning. Now that it's using the DMA address we should use unsigned int, matching the return type. It is also unnecessary to use __force. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud