From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: drivers/tty/serial/qcom_geni_serial.c:921:13: warning: 'qcom_geni_serial_poll_rx_fifo_locked' defined but not used
Date: Fri, 31 Jul 2026 08:41:37 +0800 [thread overview]
Message-ID: <202607310805.sBlErav8-lkp@intel.com> (raw)
::::::
:::::: 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: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Bjorn Andersson <andersson@kernel.org>
CC: 0day robot <lkp@intel.com>
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/202607310805.sBlErav8-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260731/202607310805.sBlErav8-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202607310805.sBlErav8-lkp@intel.com/
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
next reply other threads:[~2026-07-31 0:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-31 0:41 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-09-04 18:07 drivers/tty/serial/qcom_geni_serial.c:921:13: warning: 'qcom_geni_serial_poll_rx_fifo_locked' defined but not used kernel test robot
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=202607310805.sBlErav8-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@lists.linux.dev \
/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.