cxgb4: Dynamically allocate memory in t4_memory_rw() and get_vpd_params()
authorVipul Pandya <vipul@chelsio.com>
Wed, 3 Oct 2012 03:22:32 +0000 (03:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Oct 2012 20:34:15 +0000 (16:34 -0400)
commit8c357ebd5693b95ca6bb21242838ca3738a68450
tree22b80fdfc6e11cbe68ea73254a4fc84dfce23d2f
parent864499449f256e32815575a9b860267ebefa6d70
cxgb4: Dynamically allocate memory in t4_memory_rw() and get_vpd_params()

This patch changes memory allocation to reduce stack footprint

Signed-off-by: Jay Hernandez <jay@chelsio.com>
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c