lkml.org 
[lkml]   [2018]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@gmail.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.

\
 
 \ /
  Last update: 2018-11-02 18:22    [W:0.020 / U:2.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site