Re: [PATCH 4/4] tty: serial: qcom_geni_serial: Add GPI DMA support
From: kernel test robot
Date: Fri Oct 09 2026 - 21:11:31 EST
Hi Naresh,
kernel test robot noticed the following build warnings:
[auto build test WARNING on aac26bee2287c88af5be5a5ff96d783b19a28790]
url: https://github.com/intel-lab-lkp/linux/commits/Naresh-Maramaina/dmaengine-qcom-gpi-Add-UART-transfer-support/20261009-122753
base: aac26bee2287c88af5be5a5ff96d783b19a28790
patch link: https://lore.kernel.org/r/20261009-add-gpi-dma-support-for-uart-v1-4-c69e728df686%40oss.qualcomm.com
patch subject: [PATCH 4/4] tty: serial: qcom_geni_serial: Add GPI DMA support
config: arc-allmodconfig (https://download.01.org/0day-ci/archive/20261010/202610100800.CCtA9f8L-lkp@xxxxxxxxx/config)
compiler: arc-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261010/202610100800.CCtA9f8L-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610100800.CCtA9f8L-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
drivers/tty/serial/qcom_geni_serial.c: In function 'qcom_geni_serial_gpi_tx_unmap':
>> drivers/tty/serial/qcom_geni_serial.c:1424:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1424 | port->tx_dma_addr = (dma_addr_t)NULL;
| ^
drivers/tty/serial/qcom_geni_serial.c: In function 'qcom_geni_serial_gpi_tx_xfer_work':
drivers/tty/serial/qcom_geni_serial.c:1613:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1613 | port->tx_dma_addr = (dma_addr_t)NULL;
| ^
drivers/tty/serial/qcom_geni_serial.c: In function 'qcom_geni_serial_unprepare_gpi_rx_dma':
drivers/tty/serial/qcom_geni_serial.c:1670:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1670 | gpi->rx_dma_addr[i] = (dma_addr_t)NULL;
| ^
vim +1424 drivers/tty/serial/qcom_geni_serial.c
1414
1415 static void qcom_geni_serial_gpi_tx_unmap(struct qcom_geni_serial_port *port)
1416 {
1417 struct qcom_geni_serial_gpi *gpi = port->gpi;
1418
1419 if (!port->tx_dma_addr)
1420 return;
1421
1422 dma_unmap_single(port->se.dev->parent, port->tx_dma_addr,
1423 gpi->xmit_size, DMA_TO_DEVICE);
> 1424 port->tx_dma_addr = (dma_addr_t)NULL;
1425 }
1426
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki