summaryrefslogtreecommitdiff
path: root/Documentation/video4linux/radiotrack.txt
diff options
context:
space:
mode:
authorMichal Kazior <michal.kazior@tieto.com>2014-10-28 10:34:36 +0100
committerKalle Valo <kvalo@qca.qualcomm.com>2014-10-31 02:32:15 +0200
commit04ed9dfe499965b641b69575137af9f41a78e609 (patch)
treecd94ee6fac9700e2832fac83446dc60b38b6b521 /Documentation/video4linux/radiotrack.txt
parentc011b281591bb21e4006200a1f51ec4f67b46a74 (diff)
downloadlwn-04ed9dfe499965b641b69575137af9f41a78e609.tar.gz
lwn-04ed9dfe499965b641b69575137af9f41a78e609.zip
ath10k: fix possible bmi crash
While testing other things I've found that CE items aren't cleared properly. This could lead to null dereferences in BMI. To prevent that make sure CE revoking clears the nbytes value (which is used as a buffer completion indication) and memset the entire CE ring data shared between host and target when (re)initializing. Also make sure to check BMI xfer pointer and print a splat instead of crashing the kernel. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'Documentation/video4linux/radiotrack.txt')
0 files changed, 0 insertions, 0 deletions