summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMarek Behún <kabel@kernel.org>2021-05-20 13:35:17 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-20 16:00:40 +0200
commitaa1b734129a750d3352befda2141f49d562112ff (patch)
treef0d090702de05271877251e9222432a67457b3c5 /tools/perf/util/scripting-engines/trace-event-python.c
parent3dbb2de9e7afe0005b8c8f9e0da9f13a80e386d7 (diff)
firmware: turris-mox-rwtm: fix reply status decoding function
[ Upstream commit e34e60253d9272311831daed8a2d967cf80ca3dc ] The status decoding function mox_get_status() currently contains an incorrect check: if the error status is not MBOX_STS_SUCCESS, it always returns -EIO, so the comparison to MBOX_STS_FAIL is never executed and we don't get the actual error code sent by the firmware. Fix this. Signed-off-by: Marek Behún <kabel@kernel.org> Reviewed-by: Pali Rohár <pali@kernel.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Fixes: 389711b37493 ("firmware: Add Turris Mox rWTM firmware driver") Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions