linux-sg2042/drivers/net/ethernet/chelsio/cxgb4
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
..
Makefile cxgb4 : Makefile & Kconfig changes for DCBx support 2014-06-22 21:13:33 -07:00
cxgb4.h cxgb4: Add support for adaptive rx 2014-09-28 17:32:11 -04:00
cxgb4_dcb.c cxgb4: IEEE fixes for DCBx state machine 2014-08-07 16:18:55 -07:00
cxgb4_dcb.h cxgb4: IEEE fixes for DCBx state machine 2014-08-07 16:18:55 -07:00
cxgb4_main.c cxgb4: Add support for adaptive rx 2014-09-28 17:32:11 -04:00
cxgb4_uld.h cxgb4: Export symbols required by cxgb4i for ipv6 support and required defines 2014-07-17 16:06:03 -07:00
l2t.c cxgb4 : Update copyright year on all cxgb4 files 2014-06-22 21:13:33 -07:00
l2t.h cxgb4 : Update copyright year on all cxgb4 files 2014-06-22 21:13:33 -07:00
sge.c cxgb4: clean up a type issue 2014-10-08 16:08:04 -04:00
t4_hw.c cxgb4: Add warning msg when attaching to adapters which have FLASHes smaller than 2Mb 2014-09-10 14:01:54 -07:00
t4_hw.h cxgb4: Add support for adaptive rx 2014-09-28 17:32:11 -04:00
t4_msg.h cxgb4i : Move stray CPL definitions to cxgb4 driver 2014-08-05 16:30:18 -07:00
t4_regs.h cxgb4: Add support for adaptive rx 2014-09-28 17:32:11 -04:00
t4fw_api.h cxgb4: Detect and display firmware reported errors 2014-09-01 23:00:41 -07:00