[bug report] powerpc/perf: Add nest IMC PMU support

Anju T Sudhakar anju at linux.vnet.ibm.com
Wed Oct 24 18:06:14 AEDT 2018


Hi,


On 10/18/18 3:03 PM, Dan Carpenter wrote:
> Hello Anju T Sudhakar,
>
> The patch 885dcd709ba9: "powerpc/perf: Add nest IMC PMU support" from
> Jul 19, 2017, leads to the following static checker warning:
>
> 	arch/powerpc/perf/imc-pmu.c:506 nest_imc_event_init()
> 	warn: 'pcni' can't be NULL.

Unfortunately this warning didn't appear when I checked with smatch.

Could you please provide the steps to reproduce this?

This is the commit id with which I build smatch: commit 
79fe36620a7a3a45d1a51d62238da250fb8db920

But anyway I am looking into the code part. Thanks for mentioning this.

I will update soon.


Thanks,

Anju





More information about the Linuxppc-dev mailing list