summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorIoana Radulescu <ruxandra.radulescu@nxp.com>2017-10-11 08:29:43 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-18 16:44:00 +0200
commit87eb55e418b7fc80feb21a87aac56c6efe0678e4 (patch)
treed9c8785588602dfe38d2d989a05bd0795a77b087 /tools/perf/scripts/python/export-to-postgresql.py
parentce10d7b4e8e3574b9616e54a09d64521b9aeb8b6 (diff)
staging: fsl-dpaa2/eth: Fix potential endless loop
We incorrectly assumed that dpaa2_io_release() can only return -EBUSY as an error code, when in fact it can also fail in case some of its arguments don't have valid values. Make sure we only retry the operation while the portal is busy and abort for all other error cases, otherwise we risk entering an endless loop. Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com> Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions