Re: [PATCH] mm/sparse: remove a check that compare if unsigned variable is negative
From: Wei Yang
Date: Fri Oct 19 2018 - 04:28:06 EST
On Sat, Oct 13, 2018 at 01:04:45PM -0400, Pavel Tatashin wrote:
>This is incorrect: next_present_section_nr() returns "int" and -1 no
>next section, this change would lead to infinite loop.
Yes, the -1 is a very special value.
--
Wei Yang
Help you, Help me