diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2013-05-27 11:56:26 +0200 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2013-06-28 21:11:48 +0900 |
commit | 37b006e88e090392cdb2787ef344193702c1d75b (patch) | |
tree | ac3f2f3d3c82adf465434cc4a5ff1ad3584ec725 /crypto/ctr.c | |
parent | 1586d80cbf25d5f82539fd243924763738803745 (diff) |
drm/exynos: fix tests for valid FIMD window number
Valid values for FIMD windows are from 0 to WINDOWS_NR-1
inclusive (5 windows in total). The WINDOWS_NR is also
a size of fimd_context.win_data array.
However, early-return tests for wrong values of windows
accepted a value of WINDOWS_NR which is out of bound
for fimd_context.win_data.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'crypto/ctr.c')
0 files changed, 0 insertions, 0 deletions