Re: [PATCH] asm-generic/io.h: remove unnecessary include of linux/vmalloc.h

From: kbuild test robot
Date: Thu Sep 07 2017 - 15:37:03 EST


Hi Tobias,

[auto build test ERROR on v4.13]
[also build test ERROR on next-20170907]
[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/Tobias-Klauser/asm-generic-io-h-remove-unnecessary-include-of-linux-vmalloc-h/20170908-012111
config: arm-shmobile_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
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=arm

All errors (new ones prefixed by >>):

>> arch/arm/mach-shmobile/pm-r8a7779.c:24:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'r8a7779_sysc_init'
static void __init r8a7779_sysc_init(void)
^~~~~~~~~~~~~~~~~
>> arch/arm/mach-shmobile/pm-r8a7779.c:35:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'r8a7779_pm_init'
void __init r8a7779_pm_init(void)
^~~~~~~~~~~~~~~

vim +24 arch/arm/mach-shmobile/pm-r8a7779.c

f40aaf6da Magnus Damm 2012-01-10 23
a662c0826 Magnus Damm 2012-01-10 @24 static void __init r8a7779_sysc_init(void)
a662c0826 Magnus Damm 2012-01-10 25 {
053239987 Geert Uytterhoeven 2016-06-28 26 rcar_sysc_init(0xffd85000, 0x0131000e);
a662c0826 Magnus Damm 2012-01-10 27 }
a662c0826 Magnus Damm 2012-01-10 28
f40aaf6da Magnus Damm 2012-01-10 29 #else /* CONFIG_PM || CONFIG_SMP */
f40aaf6da Magnus Damm 2012-01-10 30
f40aaf6da Magnus Damm 2012-01-10 31 static inline void r8a7779_sysc_init(void) {}
f40aaf6da Magnus Damm 2012-01-10 32
f40aaf6da Magnus Damm 2012-01-10 33 #endif /* CONFIG_PM || CONFIG_SMP */
f40aaf6da Magnus Damm 2012-01-10 34
a662c0826 Magnus Damm 2012-01-10 @35 void __init r8a7779_pm_init(void)

:::::: The code at line 24 was first introduced by commit
:::::: a662c08260fac126059a148cbd1061e71e806b4a ARM: mach-shmobile: r8a7779 power domain support V2

:::::: TO: Magnus Damm <damm@xxxxxxxxxxxxx>
:::::: CC: Paul Mundt <lethal@xxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip