Thread (9 messages) 9 messages, 3 authors, 2018-09-07

Re: [PATCH] perf: enum overflow in uapi/linux/perf_event.h

From: Peter Zijlstra <peterz@infradead.org>
Date: 2018-09-07 13:43:04
Also in: lkml

On Fri, Sep 07, 2018 at 01:27:19PM +0000, Christophe Leroy wrote:
On PPC32, enums are 32 bits, so __PERF_SAMPLE_CALLCHAIN_EARLY is
out of scope. The following sparse warning is encountered:

  CHECK   arch/powerpc/kernel/process.c
./include/uapi/linux/perf_event.h:147:56: warning: cast truncates bits from constant value (8000000000000000 becomes 0)
Urgh... what compiler is that? I've not seen anything like that from the
build bots.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help