On Fri, Apr 08, 2022 at 01:09:01PM -0700, Andrew Morton wrote: > From: Waiman Long <longman@xxxxxxxxxx> > Subject: mm/sparsemem: fix 'mem_section' will never be NULL gcc 12 warning > ... > Link: https://lkml.kernel.org/r/20220331180246.2746210-1-longman@xxxxxxxxxx > Fixes: 3e347261a80b ("sparsemem extreme implementation") > Signed-off-by: Waiman Long <longman@xxxxxxxxxx> > Reported-by: Justin Forbes <jforbes@xxxxxxxxxx> > Cc: "Kirill A . Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx> > Cc: Ingo Molnar <mingo@xxxxxxxxxx> > Cc: Rafael Aquini <aquini@xxxxxxxxxx> > Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Reviewed-by: Oscar Salvador <osalvador@xxxxxxx> -- Oscar Salvador SUSE Labs