curcpu false positive?

2012-10-11 Thread Erik Cederstrand
Hello, I'm looking at some Clang Static Analyzer reports in the kernel, and a lot of them point back to a null pointer dereference in __pcpu_type (sys/amd64/include/pcpu.h:102) which is defined as: 102 /* 103 * Evaluates to the type of the per-cpu variable name. 104 */ 105

Re: curcpu false positive?

2012-10-11 Thread Andriy Gapon
on 11/10/2012 16:06 Erik Cederstrand said the following: Hello, I'm looking at some Clang Static Analyzer reports in the kernel, and a lot of them point back to a null pointer dereference in __pcpu_type (sys/amd64/include/pcpu.h:102) which is defined as: 102/* 103* Evaluates to