Re: [PATCH v4 1/4] soc: qcom: smem: add IN_PARTITION_RANGE helper
From: Konrad Dybcio
Date: Tue Oct 27 2026 - 08:34:08 EST
On 10/22/26 11:47 AM, Albert Esteve wrote:
> From: Sarannya S <sarannya.s@xxxxxxxxxxxxxxxx>
>
> Add IN_PARTITION_RANGE() to test that a pointer lies in [start, end]
> and that pointer + size does not wrap.
>
> Signed-off-by: Sarannya S <sarannya.s@xxxxxxxxxxxxxxxx>
> Signed-off-by: Pranav Mahesh Phansalkar <pranav.phansalkar@xxxxxxxxxxxxxxxx>
> Signed-off-by: Sudeepgoud Patil <sudeep.patil@xxxxxxxxxxxxxxxx>
> Signed-off-by: Albert Esteve <aesteve@xxxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Konrad