The recent sh-sci DMA support introduces a number of trivial build
warnings, clean them up.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/* Calculate delay for 1.5 DMA buffers */
tout = (port->timeout - HZ / 50) * s->buf_len_rx * 3 /
port->fifosize / 2;
- dev_dbg(port->dev, "Rx IRQ: setup timeout in %u ms\n",
+ dev_dbg(port->dev, "Rx IRQ: setup timeout in %lu ms\n",
tout * 1000 / HZ);
if (tout < 2)
tout = 2;
{
struct dma_chan *chan = s->chan_rx;
struct uart_port *port = &s->port;
- unsigned long flags;
s->chan_rx = NULL;
s->cookie_rx[0] = s->cookie_rx[1] = -EINVAL;
{
struct dma_chan *chan = s->chan_tx;
struct uart_port *port = &s->port;
- unsigned long flags;
s->chan_tx = NULL;
s->cookie_tx = -EINVAL;