drivers/tty/serial/qcom_geni_serial.c:921:13: warning: 'qcom_geni_serial_poll_rx_fifo_locked' defined but not used
kernel test robot <[email protected]> Fri, 31 Jul 2026 08:41:37 +0800
| Newsgroups | dev.linux.lists.oe-kbuild |
|---|---|
| Message-ID | <[email protected]> |
:::::: :::::: Manual check reason: "bisect to a FBC not belonging to original linux-review patches: branch: linux-review/Bjorn-Andersson/serial-qcom-geni-Convert-console-to-nbcon/20260730-163336, commit: d6aed29e528f1999fdc9ff58387885e7eb0f5858" :::::: BCC: [email protected] CC: [email protected] TO: Bjorn Andersson <[email protected]> CC: 0day robot <[email protected]> tree: https://github.com/intel-lab-lkp/linux/commits/Bjorn-Andersson/serial-qcom-geni-Convert-console-to-nbcon/20260730-163336 head: d6aed29e528f1999fdc9ff58387885e7eb0f5858 commit: d6aed29e528f1999fdc9ff58387885e7eb0f5858 serial: qcom-geni: Keep FIFO RX active during console TX date: 16 hours ago :::::: branch date: 16 hours ago :::::: commit date: 16 hours ago config: arm64-randconfig-003-20260731 (https://download.01.org/0day-ci/archive/20260731/[email protected]/config) compiler: aarch64-linux-gcc (GCC) 10.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260731/[email protected]/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <[email protected]> | Closes: https://lore.kernel.org/r/[email protected]/ All warnings (new ones prefixed by >>): >> drivers/tty/serial/qcom_geni_serial.c:921:13: warning: 'qcom_geni_serial_poll_rx_fifo_locked' defined but not used [-Wunused-function] 921 | static void qcom_geni_serial_poll_rx_fifo_locked(struct uart_port *uport) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/qcom_geni_serial_poll_rx_fifo_locked +921 drivers/tty/serial/qcom_geni_serial.c c4f528795d1add Karthikeyan Ramasubramanian 2018-03-14 919 d6aed29e528f19 Bjorn Andersson 2026-07-29 920 /* Caller holds the UART port lock. */ d6aed29e528f19 Bjorn Andersson 2026-07-29 @921 static void qcom_geni_serial_poll_rx_fifo_locked(struct uart_port *uport) d6aed29e528f19 Bjorn Andersson 2026-07-29 922 { d6aed29e528f19 Bjorn Andersson 2026-07-29 923 struct qcom_geni_serial_port *port = to_dev_port(uport); d6aed29e528f19 Bjorn Andersson 2026-07-29 924 struct tty_port *tport = &uport->state->port; d6aed29e528f19 Bjorn Andersson 2026-07-29 925 u32 s_irq_status; d6aed29e528f19 Bjorn Andersson 2026-07-29 926 bool drop_rx = false; d6aed29e528f19 Bjorn Andersson 2026-07-29 927 d6aed29e528f19 Bjorn Andersson 2026-07-29 928 s_irq_status = readl(uport->membase + SE_GENI_S_IRQ_STATUS); d6aed29e528f19 Bjorn Andersson 2026-07-29 929 writel(s_irq_status, uport->membase + SE_GENI_S_IRQ_CLEAR); d6aed29e528f19 Bjorn Andersson 2026-07-29 930 d6aed29e528f19 Bjorn Andersson 2026-07-29 931 if (s_irq_status & S_RX_FIFO_WR_ERR_EN) { d6aed29e528f19 Bjorn Andersson 2026-07-29 932 uport->icount.overrun++; d6aed29e528f19 Bjorn Andersson 2026-07-29 933 tty_insert_flip_char(tport, 0, TTY_OVERRUN); d6aed29e528f19 Bjorn Andersson 2026-07-29 934 } d6aed29e528f19 Bjorn Andersson 2026-07-29 935 d6aed29e528f19 Bjorn Andersson 2026-07-29 936 if (s_irq_status & (S_GP_IRQ_0_EN | S_GP_IRQ_1_EN)) { d6aed29e528f19 Bjorn Andersson 2026-07-29 937 if (s_irq_status & S_GP_IRQ_0_EN) d6aed29e528f19 Bjorn Andersson 2026-07-29 938 uport->icount.parity++; d6aed29e528f19 Bjorn Andersson 2026-07-29 939 drop_rx = true; d6aed29e528f19 Bjorn Andersson 2026-07-29 940 } else if (s_irq_status & (S_GP_IRQ_2_EN | S_GP_IRQ_3_EN)) { d6aed29e528f19 Bjorn Andersson 2026-07-29 941 uport->icount.brk++; d6aed29e528f19 Bjorn Andersson 2026-07-29 942 port->brk = true; d6aed29e528f19 Bjorn Andersson 2026-07-29 943 } d6aed29e528f19 Bjorn Andersson 2026-07-29 944 d6aed29e528f19 Bjorn Andersson 2026-07-29 945 qcom_geni_serial_handle_rx_fifo(uport, drop_rx); d6aed29e528f19 Bjorn Andersson 2026-07-29 946 } d6aed29e528f19 Bjorn Andersson 2026-07-29 947 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki