Re: [PATCH] percpu: improve percpu_alloc_percpu event trace

From: Steven Rostedt
Date: Tue May 10 2022 - 10:51:58 EST


On Tue, 10 May 2022 07:22:02 +0300
Vasily Averin <vvs@xxxxxxxxxx> wrote:

> ... and when __def_gfpflag_names() traslates them to unsigned long
>
> {(unsigned long)GFP_DMA, "GFP_DMA"}, \
> {(unsigned long)__GFP_HIGHMEM, "__GFP_HIGHMEM"}, \
> {(unsigned long)GFP_DMA32, "GFP_DMA32"}, \
>
> ... it leads to sparse warnings bacuse type gfp_t was declared as 'bitwise'

Ah' it's the printing of the flag bits. Got it.

-- Steve