lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ