comedi rtdm_interface.c build fails
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.odrivers/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.)
ksrc/drivers/comedi/rtdm_interface.c +2 -2
@@ -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 ;
Quoted 9 lines · Stefan Kisdaroczi
Hi,
comedi
rtdm_interface.cbuild 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 structproc_dir_entrydue to changes in 2.6.30.
Quoted 7 lines
Error:
CC [M]drivers/xenomai/comedi/rtdm_interface.odrivers/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 oncedrivers/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,
Quoted 27 lines
plain text document attachment (xeno_comedi_rtdm.patch)
ksrc/drivers/comedi/rtdm_interface.c +2
-2@@ -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
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Signature · 1 line
Philippe.
Hi,
Quoted 3 lines · Stefan Kisdaroczi
Hi,
comedi
rtdm_interface.cbuild 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.