aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2019-11-04 15:58:15 +0000
committerWill Deacon <[email protected]>2019-11-04 17:48:08 +0000
commitff34f3cce278a0982a7b66b1afaed6295141b1fc (patch)
tree87ff18a42db88a9810071264b0ed5d17a96f6132 /tools/perf/scripts/python/export-to-sqlite.py
parentee9bdfedd3dc1b3303390663189defa4d6b9e458 (diff)
firmware: qcom: scm: Ensure 'a0' status code is treated as signed
The 'a0' member of 'struct arm_smccc_res' is declared as 'unsigned long', however the Qualcomm SCM firmware interface driver expects to receive negative error codes via this field, so ensure that it's cast to 'long' before comparing to see if it is less than 0. Cc: <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions