diff options
author | Olav Haugan <[email protected]> | 2014-08-22 17:12:32 -0700 |
---|---|---|
committer | Will Deacon <[email protected]> | 2014-09-02 10:04:42 +0100 |
commit | 3c8766d0ca9618a406b0a1ecc29147820e93d984 (patch) | |
tree | cdfa0bbf78fcc231e758ea9cd0d097bb2468b107 /net/lapb/lapb_subr.c | |
parent | 43b412bedb782e27a8771b61870dd45a24975266 (diff) |
iommu/arm-smmu: Do not access non-existing S2CR registers
The number of S2CR registers is not properly set when stream
matching is not supported. Fix this and add check that we do not try to
access outside of the number of S2CR regisrers.
Signed-off-by: Olav Haugan <[email protected]>
[will: added missing NUMSIDB_* definitions]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions