On 09/26/2013 01:28 AM, Wolfram Sang wrote:
Hi,
What race condition?
Userspace trying to access the name attribute before it is created.
See http://kroah.com/log/blog/2013/06/26/how-to-create-a-sysfs-file-correctly/
Thanks!
Have you tried this with two instances? I don't think it will
Hi,
> > What race condition?
> >
>
> Userspace trying to access the name attribute before it is created.
> See http://kroah.com/log/blog/2013/06/26/how-to-create-a-sysfs-file-correctly/
Thanks!
> > Have you tried this with two instances? I don't think it will work since
> > class_register
Hi,
What race condition?
Userspace trying to access the name attribute before it is created.
See http://kroah.com/log/blog/2013/06/26/how-to-create-a-sysfs-file-correctly/
Thanks!
Have you tried this with two instances? I don't think it will work since
class_register modifies the
On 09/26/2013 01:28 AM, Wolfram Sang wrote:
Hi,
What race condition?
Userspace trying to access the name attribute before it is created.
See http://kroah.com/log/blog/2013/06/26/how-to-create-a-sysfs-file-correctly/
Thanks!
Have you tried this with two instances? I don't think it will
On Wed, Sep 25, 2013 at 10:20:35PM +0200, Wolfram Sang wrote:
> On Sat, Aug 31, 2013 at 09:30:19AM -0700, Guenter Roeck wrote:
> > The 'name' attribute is needed for all i2c-dev class devices, meaning
> > it can be created automatically by pointing to it in the class data
> > structure. This
On Sat, Aug 31, 2013 at 09:30:19AM -0700, Guenter Roeck wrote:
> The 'name' attribute is needed for all i2c-dev class devices, meaning
> it can be created automatically by pointing to it in the class data
> structure. This simplifies the code and reduces the probability for race
> conditions.
On Sat, Aug 31, 2013 at 09:30:19AM -0700, Guenter Roeck wrote:
The 'name' attribute is needed for all i2c-dev class devices, meaning
it can be created automatically by pointing to it in the class data
structure. This simplifies the code and reduces the probability for race
conditions.
What
On Wed, Sep 25, 2013 at 10:20:35PM +0200, Wolfram Sang wrote:
On Sat, Aug 31, 2013 at 09:30:19AM -0700, Guenter Roeck wrote:
The 'name' attribute is needed for all i2c-dev class devices, meaning
it can be created automatically by pointing to it in the class data
structure. This simplifies
The 'name' attribute is needed for all i2c-dev class devices, meaning
it can be created automatically by pointing to it in the class data
structure. This simplifies the code and reduces the probability for race
conditions.
Signed-off-by: Guenter Roeck
---
drivers/i2c/i2c-dev.c | 32
The 'name' attribute is needed for all i2c-dev class devices, meaning
it can be created automatically by pointing to it in the class data
structure. This simplifies the code and reduces the probability for race
conditions.
Signed-off-by: Guenter Roeck li...@roeck-us.net
---
drivers/i2c/i2c-dev.c
10 matches
Mail list logo