diff options
author | Sibi Sankar <[email protected]> | 2020-04-15 11:59:55 +0530 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2020-04-20 23:57:58 -0700 |
commit | 02d8ecc18b8f392389ac9e7b785b0230ecb80833 (patch) | |
tree | 3bb40198580edae965bf0addd0638ec6b42e4969 /lib/mpi/mpi-internal.h | |
parent | 35bb4b22f606c0cc8eedf567313adc18161b1af4 (diff) |
soc: qcom: pdr: Remove impossible error condition
The patch fbe639b44a82: "soc: qcom: Introduce Protection Domain
Restart helpers" leads to the following static checker warning:
drivers/soc/qcom/pdr_interface.c:158 pdr_register_listener()
'(resp.curr_state < (-((~0 >> 1)) - 1)) => (s32min-s32max < s32min)'
These are casted to int so they can't be outside of int range.
Fixes: fbe639b44a82 ("soc: qcom: Introduce Protection Domain Restart helpers")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Sibi Sankar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions