]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commita4a8bb15aed20ff74aa3ca14a4f2c0d62efd8391
tree4bb8ecf2f523b5659877e48fb74a6079d1baf396
parent02e96080af2b70313f2ffc8c1b03ae2f9d8c65ac
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