diff options
author | Dan Carpenter <error27@gmail.com> | 2010-08-09 23:49:36 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-10 10:34:36 +0200 |
commit | e88db3bd46801a9c2cd0ac5e46122d47c285faec (patch) | |
tree | 090576e6117fa71d37d876e3b9143a63b649ce2d /net | |
parent | qlcnic: clean up qlcnic_init_pci_info() (diff) | |
download | linux-e88db3bd46801a9c2cd0ac5e46122d47c285faec.tar.xz linux-e88db3bd46801a9c2cd0ac5e46122d47c285faec.zip |
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