From: Vasily Averin <vvs@openvz.org> To: Andrew Morton <akpm@linux-foundation.org> Cc: kernel@openvz.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH mm-stable] cleanup for "percpu: improve percpu_alloc_percpu event trace" Date: Tue, 17 May 2022 09:55:51 +0300 [thread overview] Message-ID: <001979f3-e978-0998-cbed-61a4a2ac87b8@openvz.org> (raw) This patch fixes sprase warning about incorrect gfp_t cast Fixes: f67bed134a05 ("percpu: improve percpu_alloc_percpu event trace") Signed-off-by: Vasily Averin <vvs@openvz.org> --- include/trace/events/percpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/trace/events/percpu.h b/include/trace/events/percpu.h index e989cefc0def..5b8211ca8950 100644 --- a/include/trace/events/percpu.h +++ b/include/trace/events/percpu.h @@ -28,7 +28,7 @@ TRACE_EVENT(percpu_alloc_percpu, __field( int, off ) __field( void __percpu *, ptr ) __field( size_t, bytes_alloc ) - __field( gfp_t, gfp_flags ) + __field( unsigned long, gfp_flags ) ), TP_fast_assign( __entry->call_site = call_site; @@ -40,7 +40,7 @@ TRACE_EVENT(percpu_alloc_percpu, __entry->off = off; __entry->ptr = ptr; __entry->bytes_alloc = bytes_alloc; - __entry->gfp_flags = gfp_flags; + __entry->gfp_flags = (__force unsigned long)gfp_flags; ), TP_printk("call_site=%pS reserved=%d is_atomic=%d size=%zu align=%zu base_addr=%p off=%d ptr=%p bytes_alloc=%zu gfp_flags=%s", -- 2.31.1
reply other threads:[~2022-05-17 6:57 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=001979f3-e978-0998-cbed-61a4a2ac87b8@openvz.org \ --to=vvs@openvz.org \ --cc=akpm@linux-foundation.org \ --cc=kernel@openvz.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mm@kvack.org \ --subject='Re: [PATCH mm-stable] cleanup for "percpu: improve percpu_alloc_percpu event trace"' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.