aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2020-02-11 19:18:57 +0100
committerHerbert Xu <[email protected]>2020-02-22 09:25:43 +0800
commitb83fd3e5ec284453561784491d877ceff950d1c6 (patch)
treef24b985302a20d0b9a3d916f8bfbefe2ecd7526a /tools/perf/scripts/python
parentf5f7e1a049e685045a0a6cfd508aab79621446b8 (diff)
crypto: ccree - fix retry handling in cc_send_sync_request()
If cc_queues_status() indicates that the queue is full, cc_send_sync_request() should loop and retry. However, cc_queues_status() returns either 0 (for success), or -ENOSPC (for queue full), while cc_send_sync_request() checks for real errors by comparing with -EAGAIN. Hence -ENOSPC is always considered a real error, and the code never retries the operation. Fix this by just removing the check, as cc_queues_status() never returns any other error value than -ENOSPC. Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Gilad Ben-Yossef <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions