Re: [PATCH] console: Don't prefer first registered if DT specifies stdout-path

From: kbuild test robot
Date: Tue Aug 09 2016 - 10:14:28 EST


Hi Paul,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.8-rc1 next-20160809]
[cannot apply to linux/master]
[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/Paul-Burton/console-Don-t-prefer-first-registered-if-DT-specifies-stdout-path/20160809-205816
config: sh-ecovec24_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 >>):

In file included from arch/sh/kernel/setup.c:14:0:
>> include/linux/console.h:179:20: error: 'console_set_by_of' declared 'static' but never defined [-Werror=unused-function]
static inline void console_set_by_of(void);
^
cc1: all warnings being treated as errors

vim +179 include/linux/console.h

173 #endif
174 extern bool console_suspend_enabled;
175
176 #ifdef CONFIG_OF
177 extern void console_set_by_of(void);
178 #else
> 179 static inline void console_set_by_of(void);
180 #endif
181
182 /* Suspend and resume console messages over PM events */

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

Attachment: .config.gz
Description: Binary data