[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120726065804.GF30468@linux-sh.org>
Date: Thu, 26 Jul 2012 15:58:04 +0900
From: Paul Mundt <lethal@...ux-sh.org>
To: Vinod Koul <vinod.koul@...ux.intel.com>
Cc: Guennadi Liakhovetski <g.liakhovetski@....de>,
linux-kernel@...r.kernel.org, Magnus Damm <magnus.damm@...il.com>,
Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>,
linux-sh@...r.kernel.org
Subject: Re: [PATCH 9/9 v3] dma: shdma: convert to the shdma base library
On Thu, Jul 26, 2012 at 12:19:21PM +0530, Vinod Koul wrote:
> On Wed, 2012-07-25 at 12:59 +0900, Paul Mundt wrote:
> > On Wed, May 09, 2012 at 05:09:21PM +0200, Guennadi Liakhovetski wrote:
> > > The shdma base library has originally been extracted from the shdma driver,
> > > which now can be converted to actually use it.
> > >
> > > Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@....de>
> > > ---
> > > drivers/dma/sh/shdma.c | 1122 ++++++++++++------------------------------------
> > > drivers/dma/sh/shdma.h | 44 +-
> > > include/linux/sh_dma.h | 33 +-
> > > 3 files changed, 302 insertions(+), 897 deletions(-)
> > >
> > Now that this has hit mainline, the sh-sci with DMA enabled build is
> > broken:
> >
> > CC drivers/tty/serial/sh-sci.o
> > drivers/tty/serial/sh-sci.c: In function 'work_fn_rx':
> > drivers/tty/serial/sh-sci.c:1413:67: error: dereferencing pointer to incomplete type
> > drivers/tty/serial/sh-sci.c:1413:81: warning: type defaults to 'int' in declaration of '__mptr'
> > drivers/tty/serial/sh-sci.c:1413:90: warning: initialization from incompatible pointer type
> > drivers/tty/serial/sh-sci.c:1413:161: error: invalid use of undefined type 'struct sh_desc'
> > drivers/tty/serial/sh-sci.c:1419:83: error: dereferencing pointer to incomplete type
> > drivers/tty/serial/sh-sci.c:1419:101: error: dereferencing pointer to incomplete type
> > drivers/tty/serial/sh-sci.c:1423:42: error: dereferencing pointer to incomplete type
> This was in -next for quite some time :(
>
It seems we don't have any configs that have this default-enabled under
-next, so it wasn't noticed before. Still, as Guennadi wrote this code
I'm surprised it was overlooked.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists