commit | e88db3bd46801a9c2cd0ac5e46122d47c285faec | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Mon Aug 09 21:49:36 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 10 01:34:36 2010 -0700 |
tree | 090576e6117fa71d37d876e3b9143a63b649ce2d | |
parent | ca315ac22c1a91fc8047254b250599890d8a7b30 [diff] |
qlcnic: using too much stack qlcnic_pci_info structs are 128 bytes so an array of 8 uses 1024 bytes. That's a lot if you run with 4K stacks. I allocated them with kcalloc() instead. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>