[mmotm:master 70/106] arch/x86/kernel/process.c:511:9: error: implicit declaration of function 'randomize_page'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   304bec1b1d331282b76d92a1487902ce1f158337
commit: 216e0dbb5aab2e588b1f9de3b434015aa1c412f7 [70/106] x86: use simpler API for random address requests
config: i386-tinyconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        git checkout 216e0dbb5aab2e588b1f9de3b434015aa1c412f7
        # save the attached .config to linux build tree
        make ARCH=i386 

Note: the mmotm/master HEAD 304bec1b1d331282b76d92a1487902ce1f158337 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   arch/x86/kernel/process.c: In function 'arch_randomize_brk':
>> arch/x86/kernel/process.c:511:9: error: implicit declaration of function 'randomize_page' [-Werror=implicit-function-declaration]
     return randomize_page(mm->brk, 0x02000000);
            ^~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/randomize_page +511 arch/x86/kernel/process.c

   505			sp -= get_random_int() % 8192;
   506		return sp & ~0xf;
   507	}
   508	
   509	unsigned long arch_randomize_brk(struct mm_struct *mm)
   510	{
 > 511		return randomize_page(mm->brk, 0x02000000);
   512	}
   513	
   514	/*

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]