[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <67093641c8654_9533f29461@iweiny-mobl.notmuch>
Date: Fri, 11 Oct 2024 09:29:21 -0500
From: Ira Weiny <ira.weiny@...el.com>
To: David Sterba <dsterba@...e.cz>, Ira Weiny <ira.weiny@...el.com>
CC: David Sterba <dsterba@...e.com>, Chris Mason <clm@...com>, Josef Bacik
<josef@...icpanda.com>, <linux-btrfs@...r.kernel.org>,
<linux-cxl@...r.kernel.org>, <linux-kernel@...r.kernel.org>, David Sterba
<dsterba@...e.cz>
Subject: Re: [PATCH] kernel/range: Const-ify range_contains parameters
David Sterba wrote:
> On Thu, Oct 10, 2024 at 10:24:42AM -0500, 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@twin.jikos.cz/ [1]
> > Suggested-by: David Sterba <dsterba@...e.cz>
>
> You can drop the above line.
Done.
>
> > Signed-off-by: Ira Weiny <ira.weiny@...el.com>
>
> Reviewed-by: David Sterba <dsterba@...e.com>
Queued in the cxl-next tree.
Thanks!
Ira
Powered by blists - more mailing lists