summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2014-08-22 14:13:24 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-05 14:52:11 -0700
commitf1cb0494aa7cdec998bb63ead445de5f959ce625 (patch)
tree49e5ba656fb93c89dc37210831d969dd549230d5 /sound
parent1cd8334a4f6df66fcd8b380f5d8aefd13fb269bb (diff)
downloadlwn-f1cb0494aa7cdec998bb63ead445de5f959ce625.tar.gz
lwn-f1cb0494aa7cdec998bb63ead445de5f959ce625.zip
arm64: ptrace: fix compat hardware watchpoint reporting
commit 27d7ff273c2aad37b28f6ff0cab2cfa35b51e648 upstream. I'm not sure what I was on when I wrote this, but when iterating over the hardware watchpoint array (hbp_watch_array), our index is off by ARM_MAX_BRP, so we walk off the end of our thread_struct... ... except, a dodgy condition in the loop means that it never executes at all (bp cannot be NULL). This patch fixes the code so that we remove the bp check and use the correct index for accessing the watchpoint structures. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions