tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 87dd3f17d47090b0ea00fecd50187eaf9f1b914c commit: 1624300f08d19703c8b2df299f55095db74cc2cd [13549/13557] genalloc: rename dev_get_gen_pool() to gen_pool_get() config: arm-allyesconfig (attached as .config) 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 git checkout 1624300f08d19703c8b2df299f55095db74cc2cd # save the attached .config to linux build tree make.cross ARCH=arm All warnings (new ones prefixed by >>): arch/arm/mach-socfpga/pm.c: In function 'socfpga_setup_ocram_self_refresh': arch/arm/mach-socfpga/pm.c:59:2: error: implicit declaration of function 'dev_get_gen_pool' [-Werror=implicit-function-declaration] ocram_pool = dev_get_gen_pool(&pdev->dev); ^ >> arch/arm/mach-socfpga/pm.c:59:13: warning: assignment makes pointer from integer without a cast ocram_pool = dev_get_gen_pool(&pdev->dev); ^ cc1: some warnings being treated as errors vim +59 arch/arm/mach-socfpga/pm.c 44fd8c7d Alan Tull 2015-06-05 43 void __iomem *suspend_ocram_base; 44fd8c7d Alan Tull 2015-06-05 44 int ret = 0; 44fd8c7d Alan Tull 2015-06-05 45 44fd8c7d Alan Tull 2015-06-05 46 np = of_find_compatible_node(NULL, NULL, "mmio-sram"); 44fd8c7d Alan Tull 2015-06-05 47 if (!np) { 44fd8c7d Alan Tull 2015-06-05 48 pr_err("%s: Unable to find mmio-sram in dtb\n", __func__); 44fd8c7d Alan Tull 2015-06-05 49 return -ENODEV; 44fd8c7d Alan Tull 2015-06-05 50 } 44fd8c7d Alan Tull 2015-06-05 51 44fd8c7d Alan Tull 2015-06-05 52 pdev = of_find_device_by_node(np); 44fd8c7d Alan Tull 2015-06-05 53 if (!pdev) { 44fd8c7d Alan Tull 2015-06-05 54 pr_warn("%s: failed to find ocram device!\n", __func__); 44fd8c7d Alan Tull 2015-06-05 55 ret = -ENODEV; 44fd8c7d Alan Tull 2015-06-05 56 goto put_node; 44fd8c7d Alan Tull 2015-06-05 57 } 44fd8c7d Alan Tull 2015-06-05 58 44fd8c7d Alan Tull 2015-06-05 @59 ocram_pool = dev_get_gen_pool(&pdev->dev); 44fd8c7d Alan Tull 2015-06-05 60 if (!ocram_pool) { 44fd8c7d Alan Tull 2015-06-05 61 pr_warn("%s: ocram pool unavailable!\n", __func__); 44fd8c7d Alan Tull 2015-06-05 62 ret = -ENODEV; 44fd8c7d Alan Tull 2015-06-05 63 goto put_node; 44fd8c7d Alan Tull 2015-06-05 64 } 44fd8c7d Alan Tull 2015-06-05 65 44fd8c7d Alan Tull 2015-06-05 66 ocram_base = gen_pool_alloc(ocram_pool, socfpga_sdram_self_refresh_sz); 44fd8c7d Alan Tull 2015-06-05 67 if (!ocram_base) { :::::: The code at line 59 was first introduced by commit :::::: 44fd8c7d4005f660f48679439f0a54225ba234a4 ARM: socfpga: support suspend to ram :::::: TO: Alan Tull :::::: CC: Kevin Hilman --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation