aboutsummaryrefslogtreecommitdiff
path: root/drivers/tc/lk201-map.c_shipped
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@pathscale.com>2007-03-15 14:44:46 -0700
committerRoland Dreier <rolandd@cisco.com>2007-04-18 20:20:54 -0700
commit165c552c35052284e8ec4f7e9c027dfd33490e2c (patch)
tree7b35088520eebb8ae5ac22654d41247f36ddec5b /drivers/tc/lk201-map.c_shipped
parent946db67fbf836af30835d610b914cdde0cf467f8 (diff)
IB/ipath: Fix user memory region creation when IOMMU present
The loop which initializes the user memory region from an array of pages was using the wrong limit for the array. This worked OK when dma_map_sg() returned the same number as the number of pages. This patch fixes the problem. Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com> Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/tc/lk201-map.c_shipped')
0 files changed, 0 insertions, 0 deletions