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: <20181102172140.ntuj66zscmoe572w@lakrids.cambridge.arm.com>
Date:   Fri, 2 Nov 2018 17:21:41 +0000
From:   Mark Rutland <mark.rutland@....com>
To:     Paul Sorensen <paulsorensen5@...il.com>
Cc:     linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Correct comparison statements in documentation

On Fri, Nov 02, 2018 at 10:09:52AM -0700, Paul Sorensen wrote:
> Instances of "less then" or "greater then" are corrected to "less than" or
> "greater than", respectively.
> 
> Signed-off-by: Paul Sorensen <paulsorensen5@...il.com>
> ---

[...]

> diff --git a/mm/slab_common.c b/mm/slab_common.c
> index 7eb8dc136c1c..5e5aaee89e10 100644
> --- a/mm/slab_common.c
> +++ b/mm/slab_common.c
> @@ -270,7 +270,7 @@ static unsigned int calculate_alignment(slab_flags_t flags,
>  	 * suggestion if the object is sufficiently large.
>  	 *
>  	 * The hardware cache alignment cannot override the specified
> -	 * alignment though. If that is greater then use it.
> +	 * alignment though. If that is greater than use it.
>  	 */

The original was correct.

To aid comprehension, perhaps:

	The hardware cache alignment cannot override the specified
	alignment, so use whichever is greater.

Thanks,
Mark.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ