From: Martin Michlmayr <tbm@cyrius.com>
To: linux-media@vger.kernel.org
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Subject: Re: [PATCH] videobuf-dma-contig.c: add missing #include
Date: Wed, 11 Nov 2009 15:53:31 +0000 [thread overview]
Message-ID: <20091111155329.GA3731@deprecation.cyrius.com> (raw)
In-Reply-To: <20091031102850.GA3850@deprecation.cyrius.com>
Are there any comments regarding the build fix I submitted? This
issue is still there, as you can see at
http://www.xs4all.nl/~hverkuil/logs/Tuesday.log
* Martin Michlmayr <tbm@cyrius.com> [2009-10-31 10:28]:
> media/video/videobuf-dma-contig.c fails to compile on ARM Versatile
> like this:
> | videobuf-dma-contig.c: In function ‘videobuf_dma_contig_user_get’:
> | videobuf-dma-contig.c:139: error: dereferencing pointer to incomplete type
> | videobuf-dma-contig.c:184: error: dereferencing pointer to incomplete type
> | make[8]: *** [drivers/media/video/videobuf-dma-contig.o] Error 1
>
> Looking at the preprocessed source, I noticed that there was no definition
> for struct task_struct.
>
> Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
>
> --- a/drivers/media/video/videobuf-dma-contig.c 2009-10-31 10:22:42.000000000 +0000
> +++ b/drivers/media/video/videobuf-dma-contig.c 2009-10-31 10:24:40.000000000 +0000
> @@ -19,6 +19,7 @@
> #include <linux/mm.h>
> #include <linux/pagemap.h>
> #include <linux/dma-mapping.h>
> +#include <linux/sched.h>
> #include <media/videobuf-dma-contig.h>
>
> struct videobuf_dma_contig_memory {
>
> --
> Martin Michlmayr
> http://www.cyrius.com/
--
Martin Michlmayr
http://www.cyrius.com/
next prev parent reply other threads:[~2009-11-11 15:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-31 10:28 [PATCH] videobuf-dma-contig.c: add missing #include Martin Michlmayr
2009-11-11 15:53 ` Martin Michlmayr [this message]
2009-11-11 17:30 ` Hiremath, Vaibhav
2009-11-11 18:38 ` Guennadi Liakhovetski
2009-11-11 19:06 ` Martin Michlmayr
2009-11-11 19:22 ` Guennadi Liakhovetski
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=20091111155329.GA3731@deprecation.cyrius.com \
--to=tbm@cyrius.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@redhat.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