summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/hw/cdma_hw.c
diff options
context:
space:
mode:
authorThierry Reding2017-03-09 20:04:57 +0100
committerThierry Reding2017-04-04 19:18:47 +0200
commit8cadb01d2c2f520a890d1bc78b45471f21b9b76d (patch)
tree749035104a97b75397e2225f1bb560fcb51e925d /drivers/gpu/host1x/hw/cdma_hw.c
parentMerge branch 'core' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iom... (diff)
downloadkernel-qcow2-linux-8cadb01d2c2f520a890d1bc78b45471f21b9b76d.tar.gz
kernel-qcow2-linux-8cadb01d2c2f520a890d1bc78b45471f21b9b76d.tar.xz
kernel-qcow2-linux-8cadb01d2c2f520a890d1bc78b45471f21b9b76d.zip
gpu: host1x: Fix potential out-of-bounds access
The check for valid syncpoint IDs is off by one. While at it, rewrite the check to make it more easily understandable. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/hw/cdma_hw.c')
0 files changed, 0 insertions, 0 deletions