* [Xenomai-help] comedi rtdm_interface.c build fails
@ 2009-06-29 15:16 Stefan Kisdaroczi
2009-06-29 15:42 ` [Xenomai-core] " Philippe Gerum
2009-06-30 6:57 ` Alexis Berlemont
0 siblings, 2 replies; 3+ messages in thread
From: Stefan Kisdaroczi @ 2009-06-29 15:16 UTC (permalink / raw)
To: xenomai@xenomai.org
[-- Attachment #1.1: Type: text/plain, Size: 702 bytes --]
Hi,
comedi rtdm_interface.c build fails (typo), patch attached.
breaking commit:
Fri, 12 Jun 2009 08:03:39 +0000 (10:03 +0200)
e20bd3f2613a052b93c1a4ecada6623a5332f54c
Made conditional inclusion of owner field in struct proc_dir_entry due to changes in 2.6.30.
Error:
CC [M] drivers/xenomai/comedi/rtdm_interface.o
drivers/xenomai/comedi/rtdm_interface.c: In function "comedi_init_proc":
drivers/xenomai/comedi/rtdm_interface.c:81: error: "enrty" undeclared (first use in this function)
drivers/xenomai/comedi/rtdm_interface.c:81: error: (Each undeclared identifier is reported only once
drivers/xenomai/comedi/rtdm_interface.c:81: error: for each function it appears in.)
[-- Attachment #1.2: xeno_comedi_rtdm.patch --]
[-- Type: text/plain, Size: 744 bytes --]
diff --git a/ksrc/drivers/comedi/rtdm_interface.c b/ksrc/drivers/comedi/rtdm_interface.c
index d4ea5ac..73687b6 100644
--- a/ksrc/drivers/comedi/rtdm_interface.c
+++ b/ksrc/drivers/comedi/rtdm_interface.c
@@ -78,7 +78,7 @@ int comedi_init_proc(void)
entry->data = NULL;
entry->write_proc = NULL;
entry->read_proc = comedi_rdproc_devs;
- wrap_proc_dir_entry_owner(enrty);
+ wrap_proc_dir_entry_owner(entry);
/* Creates the drivers related file */
entry = create_proc_entry("drivers", 0444, comedi_proc_root);
@@ -93,7 +93,7 @@ int comedi_init_proc(void)
entry->data = NULL;
entry->write_proc = NULL;
entry->read_proc = comedi_rdproc_drvs;
- wrap_proc_dir_entry_owner(enrty);
+ wrap_proc_dir_entry_owner(entry);
return 0;
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [Xenomai-core] [Xenomai-help] comedi rtdm_interface.c build fails
2009-06-29 15:16 [Xenomai-help] comedi rtdm_interface.c build fails Stefan Kisdaroczi
@ 2009-06-29 15:42 ` Philippe Gerum
2009-06-30 6:57 ` Alexis Berlemont
1 sibling, 0 replies; 3+ messages in thread
From: Philippe Gerum @ 2009-06-29 15:42 UTC (permalink / raw)
To: Stefan Kisdaroczi; +Cc: xenomai@xenomai.org, xenomai
On Mon, 2009-06-29 at 17:16 +0200, Stefan Kisdaroczi wrote:
> Hi,
>
> comedi rtdm_interface.c build fails (typo), patch attached.
>
> breaking commit:
> Fri, 12 Jun 2009 08:03:39 +0000 (10:03 +0200)
> e20bd3f2613a052b93c1a4ecada6623a5332f54c
> Made conditional inclusion of owner field in struct proc_dir_entry due to changes in 2.6.30.
>
> Error:
> CC [M] drivers/xenomai/comedi/rtdm_interface.o
> drivers/xenomai/comedi/rtdm_interface.c: In function "comedi_init_proc":
> drivers/xenomai/comedi/rtdm_interface.c:81: error: "enrty" undeclared (first use in this function)
> drivers/xenomai/comedi/rtdm_interface.c:81: error: (Each undeclared identifier is reported only once
> drivers/xenomai/comedi/rtdm_interface.c:81: error: for each function it appears in.)
>
Thanks for the feedback. Please Cc: Alex for Comedi/RTDM related issues,
and probably xenomai-core instead of -help as well.
TIA,
> plain text document attachment (xeno_comedi_rtdm.patch)
> diff --git a/ksrc/drivers/comedi/rtdm_interface.c b/ksrc/drivers/comedi/rtdm_interface.c
> index d4ea5ac..73687b6 100644
> --- a/ksrc/drivers/comedi/rtdm_interface.c
> +++ b/ksrc/drivers/comedi/rtdm_interface.c
> @@ -78,7 +78,7 @@ int comedi_init_proc(void)
> entry->data = NULL;
> entry->write_proc = NULL;
> entry->read_proc = comedi_rdproc_devs;
> - wrap_proc_dir_entry_owner(enrty);
> + wrap_proc_dir_entry_owner(entry);
>
> /* Creates the drivers related file */
> entry = create_proc_entry("drivers", 0444, comedi_proc_root);
> @@ -93,7 +93,7 @@ int comedi_init_proc(void)
> entry->data = NULL;
> entry->write_proc = NULL;
> entry->read_proc = comedi_rdproc_drvs;
> - wrap_proc_dir_entry_owner(enrty);
> + wrap_proc_dir_entry_owner(entry);
>
> return 0;
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
--
Philippe.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [Xenomai-help] comedi rtdm_interface.c build fails
2009-06-29 15:16 [Xenomai-help] comedi rtdm_interface.c build fails Stefan Kisdaroczi
2009-06-29 15:42 ` [Xenomai-core] " Philippe Gerum
@ 2009-06-30 6:57 ` Alexis Berlemont
1 sibling, 0 replies; 3+ messages in thread
From: Alexis Berlemont @ 2009-06-30 6:57 UTC (permalink / raw)
To: Stefan Kisdaroczi; +Cc: xenomai@xenomai.org
Hi,
On Mon, Jun 29, 2009 at 5:16 PM, Stefan Kisdaroczi<kisda@domain.hid> wrote:
> Hi,
>
> comedi rtdm_interface.c build fails (typo), patch attached.
Thank you. I fixed that in my git repository a few days ago but I
forgot to ask Philippe for pulling it.
Sorry.
Alexis.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-06-30 6:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-29 15:16 [Xenomai-help] comedi rtdm_interface.c build fails Stefan Kisdaroczi
2009-06-29 15:42 ` [Xenomai-core] " Philippe Gerum
2009-06-30 6:57 ` Alexis Berlemont
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.