summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorMitchel Humpherys <mitchelh@codeaurora.org>2015-10-22 13:48:29 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:14:28 -0700
commitb47628bf9f6edd902e06be4ad669795f350dfe46 (patch)
treec910137b6048ae5477d85675a0833cb0406bf984 /include/uapi/linux
parentb6d3fe22042b31a35d6830eeebaf5ca9ff4a1da6 (diff)
iommu: io-pgtable-arm: Correctly update *size in map_sg
Currently, in the arm_lpae_map_sg early return path (when neither READ nor WRITE permissions were specified), we don't store the "partially mapped" size in the size output parameter, as is expected. This could result in someone up the stack using an uninitialized variable. Fix this by storing 0 in *size when there's nothing to do. Change-Id: I3b0952aa5bcc2810843b7c513c32c3d665169e40 Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions