diff options
author | Roland Dreier <rolandd@cisco.com> | 2007-02-16 13:57:33 -0800 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-02-16 13:57:33 -0800 |
commit | 11282b32a4ed7bb5fc390c83a1d6b9bc8017882c (patch) | |
tree | 241e453062f9acae34fc00625097491c3e5f83e5 /kernel/ksysfs.c | |
parent | fc89afce349a70f73d9c0b6d91a15c4913f071a0 (diff) | |
download | op-kernel-dev-11282b32a4ed7bb5fc390c83a1d6b9bc8017882c.zip op-kernel-dev-11282b32a4ed7bb5fc390c83a1d6b9bc8017882c.tar.gz |
IB/mthca: Fix allocation of ICM chunks in coherent memory
The change to allow allocating ICM chunks from coherent memory did not
increment the count of sg entries properly, so a chunk that required
more than allocation would not be mapped properly by the HCA.
Fix this by adding the missing increment of chunk->nsg.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'kernel/ksysfs.c')
0 files changed, 0 insertions, 0 deletions