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

From: Petr Mladek <[email-masked]>
Date: Wed, 10 Mar 2021 10:52:23 +0100

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.

Best Regards,
Petr