[lkml]   [2016]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 03/20] MIPS: SEAD3: Probe UARTs using DT
Hi Paul,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.8-rc1 next-20160809]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

config: mips-sead3_defconfig (attached as .config)
compiler: mipsel-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=mips

Note: the linux-review/Paul-Burton/MIPS-SEAD3-device-tree-conversion/20160809-204707 HEAD 0eed2040422cad5cd9998891bc53368a6f15871c builds fine.
It only hurts bisectibility.

All errors (new ones prefixed by >>):

arch/mips/mti-sead3/sead3-dtshim.c: In function 'remove_gic':
arch/mips/mti-sead3/sead3-dtshim.c:56:11: error: 'EINVAL' undeclared (first use in this function)
return -EINVAL;
arch/mips/mti-sead3/sead3-dtshim.c:56:11: note: each undeclared identifier is reported only once for each function it appears in
arch/mips/mti-sead3/sead3-dtshim.c: In function 'serial_config':
>> arch/mips/mti-sead3/sead3-dtshim.c:94:13: error: implicit declaration of function 'fw_getenv' [-Werror=implicit-function-declaration]
yamontty = fw_getenv("yamontty");
arch/mips/mti-sead3/sead3-dtshim.c:94:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
yamontty = fw_getenv("yamontty");
arch/mips/mti-sead3/sead3-dtshim.c:110:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
mode_var = fw_getenv(mode_var_name);
cc1: some warnings being treated as errors

vim +/fw_getenv +94 arch/mips/mti-sead3/sead3-dtshim.c

88 const char *yamontty, *mode_var;
89 char mode_var_name[9], path[18], parity;
90 unsigned int uart, baud, stop_bits;
91 bool hw_flow;
92 int chosen_off, err;
> 94 yamontty = fw_getenv("yamontty");
95 if (!yamontty || !strcmp(yamontty, "tty0")) {
96 uart = 0;
97 } else if (!strcmp(yamontty, "tty1")) {

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation
[unhandled content-type:application/octet-stream]
 \ /
  Last update: 2016-08-10 22:21    [W:0.184 / U:1.964 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site