[Xenomai] [PATCH 2/3] Handle device paths from the device tree that start with a forward slash

2018-02-01 Thread Greg Gallagher
If the device name from the device tree starts with a forward slash (/) the rtdm device stores it in the registry including the forward slash. When we go to use that device and do the registry lookup we use a relative path from /dev/rtdm which doesn't contain the forward slash and fails to find a

Re: [Xenomai] [PATCH 2/3] Handle device paths from the device tree that start with a forward slash

2018-02-01 Thread Greg Gallagher
Yep, sorry I thought I removed that. Will update On Thu, Feb 1, 2018 at 5:29 AM, Philippe Gerum wrote: > On 01/31/2018 03:36 AM, Greg Gallagher wrote: >> If the device name from the device tree starts with a forward slash (/) the >> rtdm device stores it in the registry

Re: [Xenomai] [PATCH 2/3] Handle device paths from the device tree that start with a forward slash

2018-02-01 Thread Philippe Gerum
On 01/31/2018 03:36 AM, Greg Gallagher wrote: > If the device name from the device tree starts with a forward slash (/) the > rtdm device stores it in the registry including the forward slash. When we > go to use that device and do the registry lookup we use a relative path from > /dev/rtdm which

[Xenomai] [PATCH 2/3] Handle device paths from the device tree that start with a forward slash

2018-01-30 Thread Greg Gallagher
If the device name from the device tree starts with a forward slash (/) the rtdm device stores it in the registry including the forward slash. When we go to use that device and do the registry lookup we use a relative path from /dev/rtdm which doesn't contain the forward slash and fails to find a