tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing head: 11034b205d3e8a2f944ea2d1652b566bcee3ea01 commit: 41be2688bc803adbeee1f202dc50d9697dedeb36 [27/30] serial: sh-sci: Remove manual break debouncing config: sh-polaris_defconfig (attached as .config) compiler: sh4-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 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 41be2688bc803adbeee1f202dc50d9697dedeb36 # save the attached .config to linux build tree make.cross ARCH=sh All errors (new ones prefixed by >>): >> arch/sh/kernel/cpu/sh3/setup-sh770x.c:112:2: error: unknown field 'port_reg' specified in initializer .port_reg = 0xa4000136, ^ arch/sh/kernel/cpu/sh3/setup-sh770x.c:163:2: error: unknown field 'port_reg' specified in initializer .port_reg = SCIx_NOT_SUPPORTED, ^ >> arch/sh/kernel/cpu/sh3/setup-sh770x.c:163:14: error: 'SCIx_NOT_SUPPORTED' undeclared here (not in a function) .port_reg = SCIx_NOT_SUPPORTED, ^~~~~~~~~~~~~~~~~~ vim +/port_reg +112 arch/sh/kernel/cpu/sh3/setup-sh770x.c ec58f1f3 Magnus Damm 2007-07-25 106 .id = -1, ec58f1f3 Magnus Damm 2007-07-25 107 .num_resources = ARRAY_SIZE(rtc_resources), ec58f1f3 Magnus Damm 2007-07-25 108 .resource = rtc_resources, ec58f1f3 Magnus Damm 2007-07-25 109 }; ec58f1f3 Magnus Damm 2007-07-25 110 44658dfb Magnus Damm 2009-12-14 111 static struct plat_sci_port scif0_platform_data = { 514820eb Paul Mundt 2011-06-08 @112 .port_reg = 0xa4000136, ec58f1f3 Magnus Damm 2007-07-25 113 .flags = UPF_BOOT_AUTOCONF, 00b9de9c Paul Mundt 2009-06-24 114 .scscr = SCSCR_TE | SCSCR_RE, ec58f1f3 Magnus Damm 2007-07-25 115 .type = PORT_SCI, 61a6976b Paul Mundt 2011-06-14 116 .ops = &sh770x_sci_port_ops, 61a6976b Paul Mundt 2011-06-14 117 .regshift = 1, 44658dfb Magnus Damm 2009-12-14 118 }; 44658dfb Magnus Damm 2009-12-14 119 d850acf9 Laurent Pinchart 2013-12-06 120 static struct resource scif0_resources[] = { 5417421b Andriy Skulysh 2014-10-29 121 DEFINE_RES_MEM(0xfffffe80, 0x10), d850acf9 Laurent Pinchart 2013-12-06 122 DEFINE_RES_IRQ(evt2irq(0x4e0)), d850acf9 Laurent Pinchart 2013-12-06 123 }; d850acf9 Laurent Pinchart 2013-12-06 124 44658dfb Magnus Damm 2009-12-14 125 static struct platform_device scif0_device = { 44658dfb Magnus Damm 2009-12-14 126 .name = "sh-sci", 44658dfb Magnus Damm 2009-12-14 127 .id = 0, d850acf9 Laurent Pinchart 2013-12-06 128 .resource = scif0_resources, d850acf9 Laurent Pinchart 2013-12-06 129 .num_resources = ARRAY_SIZE(scif0_resources), 44658dfb Magnus Damm 2009-12-14 130 .dev = { 44658dfb Magnus Damm 2009-12-14 131 .platform_data = &scif0_platform_data, ec58f1f3 Magnus Damm 2007-07-25 132 }, 44658dfb Magnus Damm 2009-12-14 133 }; ec58f1f3 Magnus Damm 2007-07-25 134 #if defined(CONFIG_CPU_SUBTYPE_SH7706) || \ ec58f1f3 Magnus Damm 2007-07-25 135 defined(CONFIG_CPU_SUBTYPE_SH7707) || \ ec58f1f3 Magnus Damm 2007-07-25 136 defined(CONFIG_CPU_SUBTYPE_SH7709) 44658dfb Magnus Damm 2009-12-14 137 static struct plat_sci_port scif1_platform_data = { ec58f1f3 Magnus Damm 2007-07-25 138 .flags = UPF_BOOT_AUTOCONF, 00b9de9c Paul Mundt 2009-06-24 139 .scscr = SCSCR_TE | SCSCR_RE, ec58f1f3 Magnus Damm 2007-07-25 140 .type = PORT_SCIF, 61a6976b Paul Mundt 2011-06-14 141 .ops = &sh770x_sci_port_ops, 61a6976b Paul Mundt 2011-06-14 142 .regtype = SCIx_SH3_SCIF_REGTYPE, 44658dfb Magnus Damm 2009-12-14 143 }; 44658dfb Magnus Damm 2009-12-14 144 d850acf9 Laurent Pinchart 2013-12-06 145 static struct resource scif1_resources[] = { 5417421b Andriy Skulysh 2014-10-29 146 DEFINE_RES_MEM(0xa4000150, 0x10), d850acf9 Laurent Pinchart 2013-12-06 147 DEFINE_RES_IRQ(evt2irq(0x900)), d850acf9 Laurent Pinchart 2013-12-06 148 }; d850acf9 Laurent Pinchart 2013-12-06 149 44658dfb Magnus Damm 2009-12-14 150 static struct platform_device scif1_device = { 44658dfb Magnus Damm 2009-12-14 151 .name = "sh-sci", 44658dfb Magnus Damm 2009-12-14 152 .id = 1, d850acf9 Laurent Pinchart 2013-12-06 153 .resource = scif1_resources, d850acf9 Laurent Pinchart 2013-12-06 154 .num_resources = ARRAY_SIZE(scif1_resources), 44658dfb Magnus Damm 2009-12-14 155 .dev = { 44658dfb Magnus Damm 2009-12-14 156 .platform_data = &scif1_platform_data, ec58f1f3 Magnus Damm 2007-07-25 157 }, 44658dfb Magnus Damm 2009-12-14 158 }; ec58f1f3 Magnus Damm 2007-07-25 159 #endif ec58f1f3 Magnus Damm 2007-07-25 160 #if defined(CONFIG_CPU_SUBTYPE_SH7707) || \ ec58f1f3 Magnus Damm 2007-07-25 161 defined(CONFIG_CPU_SUBTYPE_SH7709) 44658dfb Magnus Damm 2009-12-14 162 static struct plat_sci_port scif2_platform_data = { 61a6976b Paul Mundt 2011-06-14 @163 .port_reg = SCIx_NOT_SUPPORTED, ec58f1f3 Magnus Damm 2007-07-25 164 .flags = UPF_BOOT_AUTOCONF, 00b9de9c Paul Mundt 2009-06-24 165 .scscr = SCSCR_TE | SCSCR_RE, ec58f1f3 Magnus Damm 2007-07-25 166 .type = PORT_IRDA, :::::: The code at line 112 was first introduced by commit :::::: 514820eb982eb85677ed2ecef9710e90e24fbdab serial: sh-sci: Consolidate RXD pin handling. :::::: TO: Paul Mundt <lethal@xxxxxxxxxxxx> :::::: 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