aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMadhuparna Bhowmik <[email protected]>2020-08-11 18:00:24 +0530
committerHerbert Xu <[email protected]>2020-08-21 14:47:50 +1000
commit64f4a62e3b17f1e473f971127c2924cae42afc82 (patch)
tree03db6834bad7fda6911c38bcda706e8aafb91b76 /tools/perf/scripts/python
parent8afa25aa833fbd4f3aa701cb42ebd52b1deef1d3 (diff)
crypto: picoxcell - Fix potential race condition bug
engine->stat_irq_thresh was initialized after device_create_file() in the probe function, the initialization may race with call to spacc_stat_irq_thresh_store() which updates engine->stat_irq_thresh, therefore initialize it before creating the file in probe function. Found by Linux Driver Verification project (linuxtesting.org). Fixes: ce92136843cb ("crypto: picoxcell - add support for the...") Signed-off-by: Madhuparna Bhowmik <[email protected]> Acked-by: Jamie Iles <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions