Re: [PATCH next] soc: qcom: smem: Fix signedness bug in smem_dram_parse()

Konrad Dybcio <[email protected]>
Newsgroups gmane.linux.kernel.janitors,gmane.linux.ports.arm.msm,gmane.linux.kernel
Message-ID <[email protected]>
On 8/13/26 9:09 AM, Dan Carpenter wrote:
> The "ver" variable is type "enum ddr_info_version".  Enum types are
> dependent on the compiler but in practical terms here, "ver" is
> basically an unsigned int.  It needs to be signed for the -EINVAL
> to be handled correctly.
> 
> Fixes: 1d234eeafc56 ("soc: qcom: smem: Expose DDR data from SMEM")
> Signed-off-by: Dan Carpenter <[email protected]>
> ---

Reviewed-by: Konrad Dybcio <[email protected]>

Konrad
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.