All of lore.kernel.org
 help / color / mirror / Atom feed
* [sashal-linux-stable:queue-4.4 4/55] drivers/tty/serial/amba-pl011.c:697:2: error: implicit declaration of function 'dmaengine_terminate_async'; did you mean 'dmaengine_terminate_all'?
@ 2019-12-07 19:18 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-12-07 19:18 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2262 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-4.4
head:   eda304df80c49da78abc805e79798130c3911d1b
commit: ca991eeb6c7a12557885cf49bca1ded984878dd6 [4/55] serial: pl011: Fix DMA ->flush_buffer()
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ca991eeb6c7a12557885cf49bca1ded984878dd6
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/tty/serial/amba-pl011.c: In function 'pl011_dma_flush_buffer':
>> drivers/tty/serial/amba-pl011.c:697:2: error: implicit declaration of function 'dmaengine_terminate_async'; did you mean 'dmaengine_terminate_all'? [-Werror=implicit-function-declaration]
     dmaengine_terminate_async(uap->dmatx.chan);
     ^~~~~~~~~~~~~~~~~~~~~~~~~
     dmaengine_terminate_all
   cc1: some warnings being treated as errors

vim +697 drivers/tty/serial/amba-pl011.c

   682	
   683	/*
   684	 * Flush the transmit buffer.
   685	 * Locking: called with port lock held and IRQs disabled.
   686	 */
   687	static void pl011_dma_flush_buffer(struct uart_port *port)
   688	__releases(&uap->port.lock)
   689	__acquires(&uap->port.lock)
   690	{
   691		struct uart_amba_port *uap =
   692		    container_of(port, struct uart_amba_port, port);
   693	
   694		if (!uap->using_tx_dma)
   695			return;
   696	
 > 697		dmaengine_terminate_async(uap->dmatx.chan);
   698	
   699		if (uap->dmatx.queued) {
   700			dma_unmap_sg(uap->dmatx.chan->device->dev, &uap->dmatx.sg, 1,
   701				     DMA_TO_DEVICE);
   702			uap->dmatx.queued = false;
   703			uap->dmacr &= ~UART011_TXDMAE;
   704			writew(uap->dmacr, uap->port.membase + UART011_DMACR);
   705		}
   706	}
   707	

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 54126 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-07 19:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-07 19:18 [sashal-linux-stable:queue-4.4 4/55] drivers/tty/serial/amba-pl011.c:697:2: error: implicit declaration of function 'dmaengine_terminate_async'; did you mean 'dmaengine_terminate_all'? kbuild test robot

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.