Re: linux-next: Tree for Mar 10 (lib/test_printf.c)

From: Yafang Shao
Date: Sun Mar 14 2021 - 04:42:01 EST


On Wed, Mar 10, 2021 at 5:52 PM Petr Mladek <pmladek@xxxxxxxx> wrote:
>
> On Tue 2021-03-09 21:57:48, Randy Dunlap wrote:
> > On 3/9/21 8:02 PM, Stephen Rothwell wrote:
> > > Hi all,
> > >
> >
> > on i386 (at least):
> >
> > ../lib/test_printf.c: In function 'page_flags_test':
> > ../lib/test_printf.c:595:17: error: 'sec' undeclared (first use in this function); did you mean 'sem'?
> > page_flags |= (sec & SECTIONS_MASK) << SECTIONS_PGSHIFT;
> > ^~~
> >
> >
> > Should that be 'section'?
>
> Yup, it looks like.
>
> There seems to be one more problem found by the test robot:
>
> lib/test_printf.c:595:17: note: each undeclared identifier is reported only once for each function it appears in
> >> lib/test_printf.c:612:17: error: 'tag' undeclared (first use in this function)
> 612 | page_flags |= (tag & KASAN_TAG_MASK) << KASAN_TAG_PGSHIFT;
>
>
> Yafang is going to send a fix. I have temporary removed the
> problematic patch from printk/linux.git, for-next branch.
>
> I am sorry for the troubles. Anyway, it is great that linux-next
> and all the test robots are around.
>

Hi Petr,

I sent a new version v6[1] to fix the test failure and build failure
report by kernel test robot.

Sorry for the late fix as I'm very busy recently.

[1]. https://lore.kernel.org/linux-mm/20210314083717.96380-1-laoar.shao@xxxxxxxxx/T/#t


--
Thanks
Yafang