cxgb4: allocate enough data in t4_memory_rw()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 8 Oct 2012 07:12:11 +0000 (10:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2012 07:13:16 +0000 (03:13 -0400)
commit594f88e96ebaf290e6509b37fff84b310ec1f155
tree82811ec3e1ea31a63315a3b51652ee7f84c542e3
parent9545f4e2beb1b4faae5b57250f18b0047fa191fc
cxgb4: allocate enough data in t4_memory_rw()

MEMWIN0_APERTURE is the size in bytes.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c