Re: [PATCH] kernel/range: Const-ify range_contains parameters

From: Dan Williams
Date: Thu Oct 10 2024 - 15:58:29 EST


Ira Weiny wrote:
> range_contains() does not modify the range values. David suggested it
> is safer to keep those parameters as const.[1]
>
> Make range parameters const
>
> Link: https://lore.kernel.org/all/20241008161032.GB1609@xxxxxxxxxxxxx/ [1]
> Suggested-by: David Sterba <dsterba@xxxxxxx>
> Signed-off-by: Ira Weiny <ira.weiny@xxxxxxxxx>

LGTM

Reviewed-by: Dan Williams <dan.j.williams@xxxxxxxxx>