linux-sg2042/drivers/net/ethernet/chelsio
Dan Carpenter fb5ac0de10 cxgb4: clean up a type issue
The tx_desc struct holds 8 __be64 values.  The original code in
ring_tx_db() took a tx_desc pointer then casted it to an int pointer and
then casted it to a u64 pointer.  It was confusing and triggered some
static checker warnings.

I have changed the cxgb_pio_copy() function to only take tx_desc
pointers.  This isn't really a loss of flexibility because anything else
was buggy to begin with.

I also removed the casting on the destination pointer since that was
unnecessary and a bit messy.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-10-08 16:08:04 -04:00
..
cxgb PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
cxgb3 PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
cxgb4 cxgb4: clean up a type issue 2014-10-08 16:08:04 -04:00
cxgb4vf cxgb4/cxgb4vf: Add Devicde ID for two more adapter 2014-09-28 17:32:11 -04:00
Kconfig cxgb4 : Makefile & Kconfig changes for DCBx support 2014-06-22 21:13:33 -07:00
Makefile