diff options
author | Min-Hua Chen <[email protected]> | 2023-05-23 00:07:56 +0800 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2023-05-24 20:00:58 -0700 |
commit | 4b819e7e89fedc90150a78152bfa6e6e3534e64b (patch) | |
tree | 4e8c7d42961f33e2349b46e4cdc7be1f290802c8 /drivers/fpga/fpga-bridge.c | |
parent | 6ade5ce20c466298c04b10fe66091b9055aa9988 (diff) |
soc: qcom: rpmpd: use correct __le32 type
Use cpu_to_le32 to cast constants to __le32 before comparing
them with __le32 type pd->key. This fixes the following sparse
warnings:
drivers/soc/qcom/rpmpd.c:895:31: sparse: warning: restricted __le32 degrades to integer
drivers/soc/qcom/rpmpd.c:896:15: sparse: warning: restricted __le32 degrades to integer
Signed-off-by: Min-Hua Chen <[email protected]>
Reviewed-by: Konrad Dybcio <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions