From: Fengguang Wu <fengguang.wu@intel.com>
To: Max Filippov <jcmvbkbc@gmail.com>
Cc: Chris Zankel <chris@zankel.net>,
linux-serial@vger.kernel.org, linux-xtensa@linux-xtensa.org
Subject: drivers/tty/serial/8250/8250_early.c:160:18: error: 'BASE_BAUD' undeclared
Date: Wed, 31 Oct 2012 08:36:44 +0800 [thread overview]
Message-ID: <20121031003644.GB28279@localhost> (raw)
In-Reply-To: <50906924.youLpm6PCxNnfMeP%yuanhan.liu@linux.intel.com>
Hi Max,
FYI, kernel build failed on
tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux master
head: 35fd3dc58da675d659513384221349ef90749a01
commit: 695c617ceec7954545285f1aa065edcbfe71fcee xtensa: ISS: add dummy serial.h for ISS platform
date: 4 weeks ago
config: make ARCH=xtensa allyesconfig
All error/warnings:
drivers/tty/serial/8250/8250_early.c: In function 'parse_options':
drivers/tty/serial/8250/8250_early.c:160:18: error: 'BASE_BAUD' undeclared (first use in this function)
drivers/tty/serial/8250/8250_early.c:160:18: note: each undeclared identifier is reported only once for each function it appears in
vim +160 drivers/tty/serial/8250/8250_early.c
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16 144 c = serial_in(port, UART_LCR);
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16 145 serial_out(port, UART_LCR, c | UART_LCR_DLAB);
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16 146 serial_out(port, UART_DLL, divisor & 0xff);
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16 147 serial_out(port, UART_DLM, (divisor >> 8) & 0xff);
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16 148 serial_out(port, UART_LCR, c & ~UART_LCR_DLAB);
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16 149 }
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16 150
ce2e204f drivers/serial/8250_early.c Alan Cox 2008-02-08 151 static int __init parse_options(struct early_serial8250_device *device,
ce2e204f drivers/serial/8250_early.c Alan Cox 2008-02-08 152 char *options)
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16 153 {
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16 154 struct uart_port *port = &device->port;
1917ac76 drivers/serial/8250_early.c Samium Gromoff 2010-07-20 155 int mmio, mmio32, length;
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16 156
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16 157 if (!options)
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16 158 return -ENODEV;
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16 159
^1da177e drivers/serial/8250_early.c Linus Torvalds 2005-04-16 @160 port->uartclk = BASE_BAUD * 16;
1917ac76 drivers/serial/8250_early.c Samium Gromoff 2010-07-20 161
1917ac76 drivers/serial/8250_early.c Samium Gromoff 2010-07-20 162 mmio = !strncmp(options, "mmio,", 5);
1917ac76 drivers/serial/8250_early.c Samium Gromoff 2010-07-20 163 mmio32 = !strncmp(options, "mmio32,", 7);
1917ac76 drivers/serial/8250_early.c Samium Gromoff 2010-07-20 164 if (mmio || mmio32) {
1917ac76 drivers/serial/8250_early.c Samium Gromoff 2010-07-20 165 port->iotype = (mmio ? UPIO_MEM : UPIO_MEM32);
1917ac76 drivers/serial/8250_early.c Samium Gromoff 2010-07-20 166 port->mapbase = simple_strtoul(options + (mmio ? 5 : 7),
1917ac76 drivers/serial/8250_early.c Samium Gromoff 2010-07-20 167 &options, 0);
1917ac76 drivers/serial/8250_early.c Samium Gromoff 2010-07-20 168 if (mmio32)
---
0-DAY kernel build testing backend Open Source Technology Center
Fengguang Wu, Yuanhan Liu Intel Corporation
next parent reply other threads:[~2012-10-31 0:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <50906924.youLpm6PCxNnfMeP%yuanhan.liu@linux.intel.com>
2012-10-31 0:36 ` Fengguang Wu [this message]
2012-10-31 8:35 ` drivers/tty/serial/8250/8250_early.c:160:18: error: 'BASE_BAUD' undeclared Max Filippov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121031003644.GB28279@localhost \
--to=fengguang.wu@intel.com \
--cc=chris@zankel.net \
--cc=jcmvbkbc@gmail.com \
--cc=linux-serial@vger.kernel.org \
--cc=linux-xtensa@linux-xtensa.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox