* [Xenomai-core] Wrong RTDM proc entry prevents xeno_rtdm.ko from being loaded
@ 2005-10-12 15:23 Sebastian Smolorz
2005-10-12 15:30 ` Philippe Gerum
0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Smolorz @ 2005-10-12 15:23 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: TEXT/PLAIN, Size: 146 bytes --]
Hi,
today I discovered a bug after having tried to load the Xenomai RTDM skin.
I've attached a patch which should correct the problem.
Sebastian
[-- Attachment #2: Type: TEXT/PLAIN, Size: 413 bytes --]
--- xenomai/skins/rtdm/proc.c 2005-10-12 16:58:48.000000000 +0200
+++ proc.c 2005-10-12 17:00:59.000000000 +0200
@@ -285,7 +285,7 @@ int __init rtdm_proc_init(void)
/* Initialise /proc entries */
- rtdm_proc_root = create_proc_entry("Xenomai/rtdm", S_IFDIR, NULL);
+ rtdm_proc_root = create_proc_entry("xenomai/rtdm", S_IFDIR, NULL);
if (!rtdm_proc_root)
return -EAGAIN;
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [Xenomai-core] Wrong RTDM proc entry prevents xeno_rtdm.ko from being loaded
2005-10-12 15:23 [Xenomai-core] Wrong RTDM proc entry prevents xeno_rtdm.ko from being loaded Sebastian Smolorz
@ 2005-10-12 15:30 ` Philippe Gerum
2005-10-12 15:48 ` Sebastian Smolorz
0 siblings, 1 reply; 4+ messages in thread
From: Philippe Gerum @ 2005-10-12 15:30 UTC (permalink / raw)
To: Sebastian Smolorz; +Cc: xenomai
Sebastian Smolorz wrote:
> Hi,
>
> today I discovered a bug after having tried to load the Xenomai RTDM skin.
> I've attached a patch which should correct the problem.
>
Applied, thanks.
--
Philippe.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-core] Wrong RTDM proc entry prevents xeno_rtdm.ko from being loaded
2005-10-12 15:30 ` Philippe Gerum
@ 2005-10-12 15:48 ` Sebastian Smolorz
2005-10-12 15:51 ` Philippe Gerum
0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Smolorz @ 2005-10-12 15:48 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: TEXT/PLAIN, Size: 348 bytes --]
On Wed, 12 Oct 2005, Philippe Gerum wrote:
> Sebastian Smolorz wrote:
> > Hi,
> >
> > today I discovered a bug after having tried to load the Xenomai RTDM skin.
> > I've attached a patch which should correct the problem.
... and if we want to have a clean removal of the proc entry at module
unload, this next patch is very useful! ;-)
Sebastian
[-- Attachment #2: Type: TEXT/PLAIN, Size: 471 bytes --]
--- xenomai/skins/rtdm/proc.c 2005-10-12 17:35:42.000000000 +0200
+++ proc.c 2005-10-12 17:31:09.000000000 +0200
@@ -322,7 +322,7 @@ void rtdm_proc_cleanup(void)
remove_proc_entry("open_fildes", rtdm_proc_root);
remove_proc_entry("protocol_devices", rtdm_proc_root);
remove_proc_entry("named_devices", rtdm_proc_root);
- remove_proc_entry("Xenomai/rtdm", NULL);
+ remove_proc_entry("xenomai/rtdm", NULL);
}
#endif /* CONFIG_PROC_FS */
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [Xenomai-core] Wrong RTDM proc entry prevents xeno_rtdm.ko from being loaded
2005-10-12 15:48 ` Sebastian Smolorz
@ 2005-10-12 15:51 ` Philippe Gerum
0 siblings, 0 replies; 4+ messages in thread
From: Philippe Gerum @ 2005-10-12 15:51 UTC (permalink / raw)
To: Sebastian Smolorz; +Cc: xenomai
Sebastian Smolorz wrote:
> On Wed, 12 Oct 2005, Philippe Gerum wrote:
>
>
>>Sebastian Smolorz wrote:
>>
>>>Hi,
>>>
>>>today I discovered a bug after having tried to load the Xenomai RTDM skin.
>>>I've attached a patch which should correct the problem.
>
>
> ... and if we want to have a clean removal of the proc entry at module
> unload, this next patch is very useful! ;-)
>
Oh, well...
--
Philippe.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-10-12 15:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-12 15:23 [Xenomai-core] Wrong RTDM proc entry prevents xeno_rtdm.ko from being loaded Sebastian Smolorz
2005-10-12 15:30 ` Philippe Gerum
2005-10-12 15:48 ` Sebastian Smolorz
2005-10-12 15:51 ` Philippe Gerum
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.