Hi Kirill, [auto build test ERROR on linus/master] [also build test ERROR on v4.8-rc5 next-20160907] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/Kirill-A-Shutemov/ipc-shm-fix-crash-if-CONFIG_SHMEM-is-not-set/20160907-204216 config: sh-rsk7201_defconfig (attached as .config) compiler: sh4-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=sh All errors (new ones prefixed by >>): ipc/shm.c: In function 'shm_get_unmapped_area': >> ipc/shm.c:477:25: error: 'struct mm_struct' has no member named 'get_unmapped_area' get_area = current->mm->get_unmapped_area; ^ vim +477 ipc/shm.c 471 unsigned long, unsigned long); 472 struct shm_file_data *sfd = shm_file_data(file); 473 474 if (sfd->file->f_op->get_unmapped_area) 475 get_area = sfd->file->f_op->get_unmapped_area; 476 else > 477 get_area = current->mm->get_unmapped_area; 478 return get_area(sfd->file, addr, len, pgoff, flags); 479 } 480 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation