summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorPhil Elwell <phil@raspberrypi.com>2021-01-05 16:20:28 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-07 16:56:43 +0100
commit96ae327678eceabf455b11a88ba14ad540d4b046 (patch)
treed9e3078882b54aed033b2df8031db2363fcbb74a /tools/perf/scripts/python/bin/stackcollapse-record
parent87bb53b75563d15219f993286e71e578bd965082 (diff)
downloadlinux-96ae327678eceabf455b11a88ba14ad540d4b046.tar.gz
linux-96ae327678eceabf455b11a88ba14ad540d4b046.zip
staging: vchiq: Fix bulk userdata handling
The addition of the local 'userdata' pointer to vchiq_irq_queue_bulk_tx_rx omitted the case where neither BLOCKING nor WAITING modes are used, in which case the value provided by the caller is not returned to them as expected, but instead it is replaced with a NULL. This lack of a suitable context may cause the application to crash or otherwise malfunction. Fixes: 4184da4f316a ("staging: vchiq: fix __user annotations") Tested-by: Stefan Wahren <stefan.wahren@i2se.com> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Phil Elwell <phil@raspberrypi.com> Link: https://lore.kernel.org/r/20210105162030.1415213-2-phil@raspberrypi.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions