aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2021-02-23 13:45:34 -0800
committerBjorn Andersson <[email protected]>2021-04-06 21:25:20 -0500
commit9d11af8b06a811c5c4878625f51ce109e2af4e80 (patch)
treefb16e21b57ee8068ed9cd5e67df3bd8cb36ba29e /scripts/gdb/linux/tasks.py
parent82ec0c290d1a731a2b33b8a713c5bc96b03fb2d3 (diff)
firmware: qcom_scm: Make __qcom_scm_is_call_available() return bool
Make __qcom_scm_is_call_available() return bool instead of int. The function has "is" in the name, so it should return a bool to indicate the truth of the call being available. Unfortunately, it can return a number < 0 which also looks "true", but not all callers expect that and thus they think a call is available when really the check to see if the call is available failed to figure it out. Reviewed-by: Bjorn Andersson <[email protected]> Cc: Elliot Berman <[email protected]> Cc: Brian Masney <[email protected]> Cc: Stephan Gerhold <[email protected]> Cc: Jeffrey Hugo <[email protected]> Cc: Douglas Anderson <[email protected]> Fixes: 0f206514749b ("scsi: firmware: qcom_scm: Add support for programming inline crypto keys") Fixes: 0434a4061471 ("firmware: qcom: scm: add support to restore secure config to qcm_scm-32") Fixes: b0a1614fb1f5 ("firmware: qcom: scm: add OCMEM lock/unlock interface") Signed-off-by: Stephen Boyd <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions