]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Dynamically allocate VPD data memory
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 15 Sep 2010 09:00:00 +0000 (09:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Sep 2010 21:16:15 +0000 (14:16 -0700)
commit63b3ebcdf60e00079b7b586535a97ea24a20779e
tree4bb8ecf2f523b5659877e48fb74a6079d1baf396
parentc26c9ab61daf745d80624728836bd6ae384e30a1
tg3: Dynamically allocate VPD data memory

This patch eases stack pressure by dynamically allocating the memory
used to temporarily store VPD data.

Reviewed-by: Benjamin Li <benli@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c