From: kbuild test robot <lkp@intel.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: kbuild-all@01.org,
"Bryan O'Donoghue" <pure.logic@nexus-software.ie>,
Peter Hurley <peter@hurleysoftware.com>,
linux-serial@vger.kernel.org, Vinod Koul <vinod.koul@intel.com>,
linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
ismo.puustinen@intel.com,
Heikki Krogerus <heikki.krogerus@linux.intel.com>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Subject: Re: [PATCH v7 11/11] serial: 8250_lpss: enable DMA on Intel Quark UART
Date: Fri, 17 Jun 2016 21:46:29 +0800 [thread overview]
Message-ID: <201606172102.3HqB4ZNs%fengguang.wu@intel.com> (raw)
In-Reply-To: <1466167271-11902-12-git-send-email-andriy.shevchenko@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 1864 bytes --]
Hi,
[auto build test WARNING on tty/tty-testing]
[also build test WARNING on v4.7-rc3 next-20160617]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Andy-Shevchenko/serial-8250-split-LPSS-to-8250_lpss-enable-DMA-on-Quark/20160617-204834
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
drivers/tty/serial/8250/8250_lpss.c: In function 'qrk_serial_exit_dma':
>> drivers/tty/serial/8250/8250_lpss.c:202:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
struct dw_dma_slave *param = &lpss->dma_param;
^~~~~~
vim +202 drivers/tty/serial/8250/8250_lpss.c
186 /* Special DMA address for UART */
187 dma->rx_dma_addr = 0xfffff000;
188 dma->tx_dma_addr = 0xfffff000;
189
190 param->dma_dev = &pdev->dev;
191 param->src_id = 0;
192 param->dst_id = 1;
193 param->hs_polarity = true;
194
195 lpss->dma_maxburst = 8;
196 return 0;
197 }
198
199 static void qrk_serial_exit_dma(struct lpss8250 *lpss)
200 {
201 qrk_serial_exit_dma(lpss);
> 202 struct dw_dma_slave *param = &lpss->dma_param;
203
204 if (!param->dma_dev)
205 return;
206 dw_dma_remove(&lpss->dma_chip);
207 }
208 #else /* CONFIG_SERIAL_8250_DMA */
209 static int qrk_serial_setup_dma(struct lpss8250 *lpss, struct uart_port *port)
210 {
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 54753 bytes --]
prev parent reply other threads:[~2016-06-17 13:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-17 12:41 [PATCH v7 00/11] serial: 8250: split LPSS to 8250_lpss, enable DMA on Quark Andy Shevchenko
2016-06-17 12:41 ` [PATCH v7 01/11] dmaengine: dw: keep copy of custom slave config in dwc Andy Shevchenko
2016-06-17 12:41 ` [PATCH v7 02/11] dmaengine: dw: provide probe(), remove() stubs for users Andy Shevchenko
2016-06-17 12:41 ` [PATCH v7 03/11] dmaengine: dw: set polarity of handshake interface Andy Shevchenko
2016-06-17 12:41 ` [PATCH v7 04/11] dmaengine: dw: override LLP support if asked in platform data Andy Shevchenko
2016-06-17 12:41 ` [PATCH v7 05/11] serial: 8250_dma: switch to new dmaengine_terminate_* API Andy Shevchenko
2016-06-17 12:41 ` [PATCH v7 06/11] serial: 8250_dma: adjust DMA address of the UART Andy Shevchenko
2016-06-17 12:41 ` [PATCH v7 07/11] serial: 8250: enable AFE on ports where FIFO is 16 bytes Andy Shevchenko
2016-06-17 12:41 ` [PATCH v7 08/11] serial: 8250_lpss: split LPSS driver to separate module Andy Shevchenko
2016-06-17 12:41 ` [PATCH v7 09/11] serial: 8250_lpss: move Quark code from PCI driver Andy Shevchenko
2016-06-17 12:41 ` [PATCH v7 10/11] serial: 8250_lpss: enable MSI for Intel Quark Andy Shevchenko
2016-06-17 12:41 ` [PATCH v7 11/11] serial: 8250_lpss: enable DMA on Intel Quark UART Andy Shevchenko
2016-06-17 13:46 ` kbuild test robot [this message]
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=201606172102.3HqB4ZNs%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=dmaengine@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=heikki.krogerus@linux.intel.com \
--cc=ismo.puustinen@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=peter@hurleysoftware.com \
--cc=pure.logic@nexus-software.ie \
--cc=vinod.koul@intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®