diff options
author | Dan Carpenter <error27@gmail.com> | 2010-08-09 21:49:36 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-10 01:34:36 -0700 |
commit | e88db3bd46801a9c2cd0ac5e46122d47c285faec (patch) | |
tree | 090576e6117fa71d37d876e3b9143a63b649ce2d /net | |
parent | ca315ac22c1a91fc8047254b250599890d8a7b30 (diff) | |
download | op-kernel-dev-e88db3bd46801a9c2cd0ac5e46122d47c285faec.zip op-kernel-dev-e88db3bd46801a9c2cd0ac5e46122d47c285faec.tar.gz |
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions