From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [jirislaby:devel 11/38] drivers/tty/serial/cpm_uart/cpm_uart_core.c:503:52: error: no member named 'low_latency' in 'struct tty_port'
Date: Wed, 16 Dec 2020 00:31:25 +0800 [thread overview]
Message-ID: <202012160018.On9NnSJC-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 21547 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head: 698e3a58826090599c520290c429d0314cd62e19
commit: 51878b6de4959a889168784499d8d60c498b3ad7 [11/38] tty_port: drop low_latency
config: powerpc-randconfig-r024-20201215 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a29ecca7819a6ed4250d3689b12b1f664bb790d7)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git/commit/?id=51878b6de4959a889168784499d8d60c498b3ad7
git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
git fetch --no-tags jirislaby devel
git checkout 51878b6de4959a889168784499d8d60c498b3ad7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/tty/serial/cpm_uart/cpm_uart_core.c:503:52: error: no member named 'low_latency' in 'struct tty_port'
(pinfo->port.state && pinfo->port.state->port.low_latency))
~~~~~~~~~~~~~~~~~~~~~~~ ^
1 error generated.
vim +503 drivers/tty/serial/cpm_uart/cpm_uart_core.c
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 484
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 485 static void cpm_uart_set_termios(struct uart_port *port,
1bda8f3056126cc drivers/serial/cpm_uart/cpm_uart_core.c Scott Wood 2007-05-08 486 struct ktermios *termios,
1bda8f3056126cc drivers/serial/cpm_uart/cpm_uart_core.c Scott Wood 2007-05-08 487 struct ktermios *old)
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 488 {
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 489 int baud;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 490 unsigned long flags;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 491 u16 cval, scval, prev_mode;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 492 int bits, sbits;
e789d2688720dba drivers/tty/serial/cpm_uart/cpm_uart_core.c Fabian Frederick 2014-10-05 493 struct uart_cpm_port *pinfo =
e789d2688720dba drivers/tty/serial/cpm_uart/cpm_uart_core.c Fabian Frederick 2014-10-05 494 container_of(port, struct uart_cpm_port, port);
c1dcfd9d199043f drivers/serial/cpm_uart/cpm_uart_core.c Scott Wood 2007-07-24 495 smc_t __iomem *smcp = pinfo->smcp;
c1dcfd9d199043f drivers/serial/cpm_uart/cpm_uart_core.c Scott Wood 2007-07-24 496 scc_t __iomem *sccp = pinfo->sccp;
6e62bdc07e1b397 drivers/tty/serial/cpm_uart/cpm_uart_core.c Christophe Leroy 2012-09-24 497 int maxidl;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 498
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 499 pr_debug("CPM uart[%d]:set_termios\n", port->line);
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 500
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 501 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 16);
59733ef7e510f6f drivers/tty/serial/cpm_uart/cpm_uart_core.c Christophe Leroy 2012-09-24 502 if (baud < HW_BUF_SPD_THRESHOLD ||
d6c53c0e9bd0a83 drivers/tty/serial/cpm_uart/cpm_uart_core.c Jiri Slaby 2013-01-03 @503 (pinfo->port.state && pinfo->port.state->port.low_latency))
5b04ec4ad8e2ffd drivers/serial/cpm_uart/cpm_uart_core.c Baurzhan Ismagulov 2010-11-11 504 pinfo->rx_fifosize = 1;
5b04ec4ad8e2ffd drivers/serial/cpm_uart/cpm_uart_core.c Baurzhan Ismagulov 2010-11-11 505 else
5b04ec4ad8e2ffd drivers/serial/cpm_uart/cpm_uart_core.c Baurzhan Ismagulov 2010-11-11 506 pinfo->rx_fifosize = RX_BUF_SIZE;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 507
6e62bdc07e1b397 drivers/tty/serial/cpm_uart/cpm_uart_core.c Christophe Leroy 2012-09-24 508 /* MAXIDL is the timeout after which a receive buffer is closed
6e62bdc07e1b397 drivers/tty/serial/cpm_uart/cpm_uart_core.c Christophe Leroy 2012-09-24 509 * when not full if no more characters are received.
6e62bdc07e1b397 drivers/tty/serial/cpm_uart/cpm_uart_core.c Christophe Leroy 2012-09-24 510 * We calculate it from the baudrate so that the duration is
6e62bdc07e1b397 drivers/tty/serial/cpm_uart/cpm_uart_core.c Christophe Leroy 2012-09-24 511 * always the same at standard rates: about 4ms.
6e62bdc07e1b397 drivers/tty/serial/cpm_uart/cpm_uart_core.c Christophe Leroy 2012-09-24 512 */
6e62bdc07e1b397 drivers/tty/serial/cpm_uart/cpm_uart_core.c Christophe Leroy 2012-09-24 513 maxidl = baud / 2400;
6e62bdc07e1b397 drivers/tty/serial/cpm_uart/cpm_uart_core.c Christophe Leroy 2012-09-24 514 if (maxidl < 1)
6e62bdc07e1b397 drivers/tty/serial/cpm_uart/cpm_uart_core.c Christophe Leroy 2012-09-24 515 maxidl = 1;
6e62bdc07e1b397 drivers/tty/serial/cpm_uart/cpm_uart_core.c Christophe Leroy 2012-09-24 516 if (maxidl > 0x10)
6e62bdc07e1b397 drivers/tty/serial/cpm_uart/cpm_uart_core.c Christophe Leroy 2012-09-24 517 maxidl = 0x10;
6e62bdc07e1b397 drivers/tty/serial/cpm_uart/cpm_uart_core.c Christophe Leroy 2012-09-24 518
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 519 /* Character length programmed into the mode register is the
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 520 * sum of: 1 start bit, number of data bits, 0 or 1 parity bit,
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 521 * 1 or 2 stop bits, minus 1.
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 522 * The value 'bits' counts this for us.
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 523 */
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 524 cval = 0;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 525 scval = 0;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 526
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 527 /* byte size */
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 528 switch (termios->c_cflag & CSIZE) {
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 529 case CS5:
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 530 bits = 5;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 531 break;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 532 case CS6:
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 533 bits = 6;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 534 break;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 535 case CS7:
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 536 bits = 7;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 537 break;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 538 case CS8:
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 539 bits = 8;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 540 break;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 541 /* Never happens, but GCC is too dumb to figure it out */
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 542 default:
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 543 bits = 8;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 544 break;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 545 }
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 546 sbits = bits - 5;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 547
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 548 if (termios->c_cflag & CSTOPB) {
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 549 cval |= SMCMR_SL; /* Two stops */
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 550 scval |= SCU_PSMR_SL;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 551 bits++;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 552 }
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 553
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 554 if (termios->c_cflag & PARENB) {
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 555 cval |= SMCMR_PEN;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 556 scval |= SCU_PSMR_PEN;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 557 bits++;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 558 if (!(termios->c_cflag & PARODD)) {
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 559 cval |= SMCMR_PM_EVEN;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 560 scval |= (SCU_PSMR_REVP | SCU_PSMR_TEVP);
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 561 }
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 562 }
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 563
dc320815305c5f0 drivers/serial/cpm_uart/cpm_uart_core.c Laurent Pinchart 2008-07-02 564 /*
dc320815305c5f0 drivers/serial/cpm_uart/cpm_uart_core.c Laurent Pinchart 2008-07-02 565 * Update the timeout
dc320815305c5f0 drivers/serial/cpm_uart/cpm_uart_core.c Laurent Pinchart 2008-07-02 566 */
dc320815305c5f0 drivers/serial/cpm_uart/cpm_uart_core.c Laurent Pinchart 2008-07-02 567 uart_update_timeout(port, termios->c_cflag, baud);
dc320815305c5f0 drivers/serial/cpm_uart/cpm_uart_core.c Laurent Pinchart 2008-07-02 568
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 569 /*
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 570 * Set up parity check flag
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 571 */
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 572 port->read_status_mask = (BD_SC_EMPTY | BD_SC_OV);
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 573 if (termios->c_iflag & INPCK)
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 574 port->read_status_mask |= BD_SC_FR | BD_SC_PR;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 575 if ((termios->c_iflag & BRKINT) || (termios->c_iflag & PARMRK))
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 576 port->read_status_mask |= BD_SC_BR;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 577
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 578 /*
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 579 * Characters to ignore
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 580 */
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 581 port->ignore_status_mask = 0;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 582 if (termios->c_iflag & IGNPAR)
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 583 port->ignore_status_mask |= BD_SC_PR | BD_SC_FR;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 584 if (termios->c_iflag & IGNBRK) {
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 585 port->ignore_status_mask |= BD_SC_BR;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 586 /*
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 587 * If we're ignore parity and break indicators, ignore
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 588 * overruns too. (For real raw support).
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 589 */
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 590 if (termios->c_iflag & IGNPAR)
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 591 port->ignore_status_mask |= BD_SC_OV;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 592 }
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 593 /*
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 594 * !!! ignore all characters if CREAD is not set
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 595 */
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 596 if ((termios->c_cflag & CREAD) == 0)
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 597 port->read_status_mask &= ~BD_SC_EMPTY;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 598
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 599 spin_lock_irqsave(&port->lock, flags);
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 600
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 601 /* Start bit has not been added (so don't, because we would just
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 602 * subtract it later), and we need to add one for the number of
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 603 * stops bits (there is always at least one).
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 604 */
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 605 bits++;
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 606 if (IS_SMC(pinfo)) {
5b04ec4ad8e2ffd drivers/serial/cpm_uart/cpm_uart_core.c Baurzhan Ismagulov 2010-11-11 607 /*
5b04ec4ad8e2ffd drivers/serial/cpm_uart/cpm_uart_core.c Baurzhan Ismagulov 2010-11-11 608 * MRBLR can be changed while an SMC/SCC is operating only
5b04ec4ad8e2ffd drivers/serial/cpm_uart/cpm_uart_core.c Baurzhan Ismagulov 2010-11-11 609 * if it is done in a single bus cycle with one 16-bit move
5b04ec4ad8e2ffd drivers/serial/cpm_uart/cpm_uart_core.c Baurzhan Ismagulov 2010-11-11 610 * (not two 8-bit bus cycles back-to-back). This occurs when
5b04ec4ad8e2ffd drivers/serial/cpm_uart/cpm_uart_core.c Baurzhan Ismagulov 2010-11-11 611 * the cp shifts control to the next RxBD, so the change does
5b04ec4ad8e2ffd drivers/serial/cpm_uart/cpm_uart_core.c Baurzhan Ismagulov 2010-11-11 612 * not take effect immediately. To guarantee the exact RxBD
5b04ec4ad8e2ffd drivers/serial/cpm_uart/cpm_uart_core.c Baurzhan Ismagulov 2010-11-11 613 * on which the change occurs, change MRBLR only while the
5b04ec4ad8e2ffd drivers/serial/cpm_uart/cpm_uart_core.c Baurzhan Ismagulov 2010-11-11 614 * SMC/SCC receiver is disabled.
5b04ec4ad8e2ffd drivers/serial/cpm_uart/cpm_uart_core.c Baurzhan Ismagulov 2010-11-11 615 */
5b04ec4ad8e2ffd drivers/serial/cpm_uart/cpm_uart_core.c Baurzhan Ismagulov 2010-11-11 616 out_be16(&pinfo->smcup->smc_mrblr, pinfo->rx_fifosize);
6e62bdc07e1b397 drivers/tty/serial/cpm_uart/cpm_uart_core.c Christophe Leroy 2012-09-24 617 out_be16(&pinfo->smcup->smc_maxidl, maxidl);
5b04ec4ad8e2ffd drivers/serial/cpm_uart/cpm_uart_core.c Baurzhan Ismagulov 2010-11-11 618
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 619 /* Set the mode register. We want to keep a copy of the
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 620 * enables, because we want to put them back if they were
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 621 * present.
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 622 */
ae2d4c396e19f45 drivers/serial/cpm_uart/cpm_uart_core.c Nye Liu 2008-07-23 623 prev_mode = in_be16(&smcp->smc_smcmr) & (SMCMR_REN | SMCMR_TEN);
ae2d4c396e19f45 drivers/serial/cpm_uart/cpm_uart_core.c Nye Liu 2008-07-23 624 /* Output in *one* operation, so we don't interrupt RX/TX if they
ae2d4c396e19f45 drivers/serial/cpm_uart/cpm_uart_core.c Nye Liu 2008-07-23 625 * were already enabled. */
ae2d4c396e19f45 drivers/serial/cpm_uart/cpm_uart_core.c Nye Liu 2008-07-23 626 out_be16(&smcp->smc_smcmr, smcr_mk_clen(bits) | cval |
ae2d4c396e19f45 drivers/serial/cpm_uart/cpm_uart_core.c Nye Liu 2008-07-23 627 SMCMR_SM_UART | prev_mode);
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 628 } else {
5b04ec4ad8e2ffd drivers/serial/cpm_uart/cpm_uart_core.c Baurzhan Ismagulov 2010-11-11 629 out_be16(&pinfo->sccup->scc_genscc.scc_mrblr, pinfo->rx_fifosize);
6e62bdc07e1b397 drivers/tty/serial/cpm_uart/cpm_uart_core.c Christophe Leroy 2012-09-24 630 out_be16(&pinfo->sccup->scc_maxidl, maxidl);
c1dcfd9d199043f drivers/serial/cpm_uart/cpm_uart_core.c Scott Wood 2007-07-24 631 out_be16(&sccp->scc_psmr, (sbits << 12) | scval);
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 632 }
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 633
80776554b6c93cf drivers/serial/cpm_uart/cpm_uart_core.c Laurent Pinchart 2008-07-28 634 if (pinfo->clk)
80776554b6c93cf drivers/serial/cpm_uart/cpm_uart_core.c Laurent Pinchart 2008-07-28 635 clk_set_rate(pinfo->clk, baud);
80776554b6c93cf drivers/serial/cpm_uart/cpm_uart_core.c Laurent Pinchart 2008-07-28 636 else
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 637 cpm_set_brg(pinfo->brg - 1, baud);
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 638 spin_unlock_irqrestore(&port->lock, flags);
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 639 }
^1da177e4c3f415 drivers/serial/cpm_uart/cpm_uart_core.c Linus Torvalds 2005-04-16 640
:::::: The code at line 503 was first introduced by commit
:::::: d6c53c0e9bd0a83f9f9ddbc9fd80141a54d83896 TTY: move low_latency to tty_port
:::::: TO: Jiri Slaby <jslaby@suse.cz>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31329 bytes --]
reply other threads:[~2020-12-15 16:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202012160018.On9NnSJC-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.