Re: [PATCH] soc: qcom: rpmpd: use correct __le32 type
From: Bjorn Andersson
Date: Thu May 25 2023 - 00:56:44 EST
On Tue, 23 May 2023 00:07:56 +0800, Min-Hua Chen wrote:
> 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
>
> [...]
Applied, thanks!
[1/1] soc: qcom: rpmpd: use correct __le32 type
commit: 4b819e7e89fedc90150a78152bfa6e6e3534e64b
Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>