Messages in this thread | | | Date | Sat, 14 Oct 2017 16:38:32 +0800 | From | kbuild test robot <> | Subject | Re: [PATCH 1/1] stackdepot: ignore junk last entry in case of switch from user mode. |
| |
Hi Maninder,
[auto build test ERROR on linus/master] [also build test ERROR on v4.14-rc4 next-20171013] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Maninder-Singh/stackdepot-ignore-junk-last-entry-in-case-of-switch-from-user-mode/20171014-153544 config: xtensa-allyesconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 4.9.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=xtensa
All errors (new ones prefixed by >>):
lib/stackdepot.c: In function 'depot_save_stack': >> lib/stackdepot.c:217:46: error: 'MODULES_VADDR' undeclared (first use in this function) if (trace->entries[trace->nr_entries - 1] < MODULES_VADDR) { ^ lib/stackdepot.c:217:46: note: each undeclared identifier is reported only once for each function it appears in
vim +/MODULES_VADDR +217 lib/stackdepot.c
196 197 /** 198 * depot_save_stack - save stack in a stack depot. 199 * @trace - the stacktrace to save. 200 * @alloc_flags - flags for allocating additional memory if required. 201 * 202 * Returns the handle of the stack struct stored in depot. 203 */ 204 depot_stack_handle_t depot_save_stack(struct stack_trace *trace, 205 gfp_t alloc_flags) 206 { 207 u32 hash; 208 depot_stack_handle_t retval = 0; 209 struct stack_record *found = NULL, **bucket; 210 unsigned long flags; 211 struct page *page = NULL; 212 void *prealloc = NULL; 213 214 if (unlikely(trace->nr_entries == 0)) 215 goto fast_exit; 216 > 217 if (trace->entries[trace->nr_entries - 1] < MODULES_VADDR) {
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation [unhandled content-type:application/gzip] | |