tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-4.9 head: 4148278970e6bb725edb3fd5cc91c3d83cc16a97 commit: 6e0398880e744cdd7e8ea21c830d010dd62e8582 [47/79] coresight: tmc-etf: Do not call smp_processor_id from preemptible config: arm64-allyesconfig (attached as .config) compiler: aarch64-linux-gcc (GCC) 7.5.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 6e0398880e744cdd7e8ea21c830d010dd62e8582 # save the attached .config to linux build tree GCC_VERSION=7.5.0 make.cross ARCH=arm64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot All errors (new ones prefixed by >>): drivers//hwtracing/coresight/coresight-tmc-etf.c: In function 'tmc_alloc_etf_buffer': >> drivers//hwtracing/coresight/coresight-tmc-etf.c:295:10: error: 'event' undeclared (first use in this function); did you mean 'io_event'? node = (event->cpu == -1) ? NUMA_NO_NODE : cpu_to_node(event->cpu); ^~~~~ io_event drivers//hwtracing/coresight/coresight-tmc-etf.c:295:10: note: each undeclared identifier is reported only once for each function it appears in vim +295 drivers//hwtracing/coresight/coresight-tmc-etf.c 288 289 static void *tmc_alloc_etf_buffer(struct coresight_device *csdev, int cpu, 290 void **pages, int nr_pages, bool overwrite) 291 { 292 int node; 293 struct cs_buffers *buf; 294 > 295 node = (event->cpu == -1) ? NUMA_NO_NODE : cpu_to_node(event->cpu); 296 297 /* Allocate memory structure for interaction with Perf */ 298 buf = kzalloc_node(sizeof(struct cs_buffers), GFP_KERNEL, node); 299 if (!buf) 300 return NULL; 301 302 buf->snapshot = overwrite; 303 buf->nr_pages = nr_pages; 304 buf->data_pages = pages; 305 306 return buf; 307 } 308 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation