]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit58ea37e75336c72c1b7eda138d04f74d39814e36
tree22b80fdfc6e11cbe68ea73254a4fc84dfce23d2f
parent67b34577928a11306f9fca0ee1a21a75b1be108c
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