lkml.org 
[lkml]   [2022]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] percpu: improve percpu_alloc_percpu event trace
On Tue, 10 May 2022 07:22:02 +0300
Vasily Averin <vvs@openvz.org> 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

\
 
 \ /
  Last update: 2022-05-10 16:54    [W:0.051 / U:1.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site