Messages in this thread | | | Date | Fri, 2 Nov 2018 17:21:41 +0000 | From | Mark Rutland <> | 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@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.
| |