[PATCH V8 04/10] powerpc, perf: Re organize PMU based branch filter processing in POWER8
dja at axtens.net
Wed Jun 10 15:07:02 AEST 2015
> /* Every thing else is unsupported */
> return -1;
You're returning -1 as a unsigned 64bit number. Other code that reads
this value tests for -1 and I think it works everywhere just because it
wraps around consistently. But I would still rather not do this and I'm
surprised it doesn't throw a warning.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 860 bytes
Desc: This is a digitally signed message part
More information about the Linuxppc-dev