[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20121127092822.1c57a843@redhat.com>
Date: Tue, 27 Nov 2012 09:28:22 -0200
From: Mauro Carvalho Chehab <mchehab@...hat.com>
To: Prabhakar Lad <prabhakar.csengg@...il.com>
Cc: Marek Szyprowski <m.szyprowski@...sung.com>,
LMML <linux-media@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Kyungmin Park <kyungmin.park@...sung.com>,
Pawel Osciak <pawel@...iak.com>,
"Lad, Prabhakar" <prabhakar.lad@...com>,
Manjunath Hadli <manjunath.hadli@...com>
Subject: Re: [PATCH] media: fix a typo CONFIG_HAVE_GENERIC_DMA_COHERENT in
videobuf2-dma-contig.c
Em Tue, 27 Nov 2012 14:55:10 +0530
Prabhakar Lad <prabhakar.csengg@...il.com> escreveu:
> Hi,
>
> On Tue, Nov 27, 2012 at 1:21 PM, Marek Szyprowski
> <m.szyprowski@...sung.com> wrote:
> > Hello,
> >
> >
> > On 11/27/2012 8:39 AM, Prabhakar Lad wrote:
> >>
> >> Hi Marek,
> >>
> >> On Tue, Nov 27, 2012 at 12:53 PM, Marek Szyprowski
> >> <m.szyprowski@...sung.com> wrote:
> >> > Hello,
> >> >
> >> >
> >> > On 11/27/2012 6:59 AM, Prabhakar Lad wrote:
> >> >>
> >> >> From: Lad, Prabhakar <prabhakar.lad@...com>
> >> >>
> >> >> from commit 93049b9368a2e257ace66252ab2cc066f3399cad, which adds
> >> >> a check HAVE_GENERIC_DMA_COHERENT for dma ops, the check was wrongly
> >> >> made it should have been HAVE_GENERIC_DMA_COHERENT but it was
> >> >> CONFIG_HAVE_GENERIC_DMA_COHERENT.
> >> >> This patch fixes the typo, which was causing following build error:
> >> >>
> >> >> videobuf2-dma-contig.c:743: error: 'vb2_dc_get_dmabuf' undeclared here
> >> >> (not in a function)
> >> >> make[3]: *** [drivers/media/v4l2-core/videobuf2-dma-contig.o] Error 1
> >> >>
> >> >> Signed-off-by: Lad, Prabhakar <prabhakar.lad@...com>
> >> >> Signed-off-by: Manjunath Hadli <manjunath.hadli@...com>
> >> >
> >> >
> >> > The CONFIG_HAVE_GENERIC_DMA_COHERENT based patch was a quick workaround
> >> > for the build problem in linux-next and should be reverted now. The
> >> > correct patch has been posted for drivers/base/dma-mapping.c to LKML,
> >> > see http://www.spinics.net/lists/linux-next/msg22890.html
> >>
> >> I was referring to this patch from Mauro,
> >>
> >> http://git.linuxtv.org/media_tree.git/commitdiff/93049b9368a2e257ace66252ab2cc066f3399cad
> >> which introduced this build error.
> >
> >
> > I know, with my patch the workaround introduced by Mauro is not needed at
> > all.
> >
> Thanks for clarifying I'll drop this patch, I hope Mauro will revert
> his changes.
Yeah, I'm reverting it right now and applying Marek's one, with Greg's ack.
>
> Regards,
> --Prabhakar
>
> >
> > Best regards
> > --
> > Marek Szyprowski
> > Samsung Poland R&D Center
> >
> >
--
Regards,
Mauro
--
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