linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] HID: roccat: finishing usage of sysfs_create_bin_group()
@ 2010-11-15 20:32 Stefan Achatz
  2010-11-15 22:08 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Achatz @ 2010-11-15 20:32 UTC (permalink / raw)
  To: Jiri Kosina, Greg Kroah-Hartman, linux-input, linux-kernel

These patches are against the newest roccat file versions (after
applying everything I released the last days).
They fix some inattentive (though not critical) failures from previous
patches and change hid-roccat-koneplus and hid-roccat-pyra to use the
new sysfs_create_bin_group()
koneplus should be finished now (until I find errors)

Stefan


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/3] HID: roccat: finishing usage of sysfs_create_bin_group()
  2010-11-15 20:32 [PATCH 0/3] HID: roccat: finishing usage of sysfs_create_bin_group() Stefan Achatz
@ 2010-11-15 22:08 ` Greg KH
  2010-11-15 22:31   ` Jiri Kosina
  2010-11-16  7:03   ` Aw: " Stefan Achatz
  0 siblings, 2 replies; 5+ messages in thread
From: Greg KH @ 2010-11-15 22:08 UTC (permalink / raw)
  To: Stefan Achatz; +Cc: Jiri Kosina, linux-input, linux-kernel

On Mon, Nov 15, 2010 at 09:32:41PM +0100, Stefan Achatz wrote:
> These patches are against the newest roccat file versions (after
> applying everything I released the last days).
> They fix some inattentive (though not critical) failures from previous
> patches and change hid-roccat-koneplus and hid-roccat-pyra to use the
> new sysfs_create_bin_group()
> koneplus should be finished now (until I find errors)

Wait, they still don't resolve the main problem of this api is still
racy and I can't accept it.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/3] HID: roccat: finishing usage of sysfs_create_bin_group()
  2010-11-15 22:08 ` Greg KH
@ 2010-11-15 22:31   ` Jiri Kosina
  2010-11-16  7:03   ` Aw: " Stefan Achatz
  1 sibling, 0 replies; 5+ messages in thread
From: Jiri Kosina @ 2010-11-15 22:31 UTC (permalink / raw)
  To: Greg KH; +Cc: Stefan Achatz, linux-input, linux-kernel

On Mon, 15 Nov 2010, Greg KH wrote:

> > These patches are against the newest roccat file versions (after
> > applying everything I released the last days).
> > They fix some inattentive (though not critical) failures from previous
> > patches and change hid-roccat-koneplus and hid-roccat-pyra to use the
> > new sysfs_create_bin_group()
> > koneplus should be finished now (until I find errors)
> 
> Wait, they still don't resolve the main problem of this api is still
> racy and I can't accept it.

Yeah, I have already pointed Stefan to

	 http://lkml.org/lkml/2010/11/13/174

which he might have missed.

Thanks,

-- 
Jiri Kosina
SUSE Labs, Novell Inc.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Aw: Re: [PATCH 0/3] HID: roccat: finishing usage of sysfs_create_bin_group()
  2010-11-15 22:08 ` Greg KH
  2010-11-15 22:31   ` Jiri Kosina
@ 2010-11-16  7:03   ` Stefan Achatz
  2010-11-16 11:01     ` Jiri Kosina
  1 sibling, 1 reply; 5+ messages in thread
From: Stefan Achatz @ 2010-11-16  7:03 UTC (permalink / raw)
  To: jkosina, gregkh; +Cc: erazor_de, linux-input, linux-kernel

> On Mon, 15 Nov 2010, Greg KH wrote:
> 
> > > These patches are against the newest roccat file versions (after
> > > applying everything I released the last days).
> > > They fix some inattentive (though not critical) failures from previous
> > > patches and change hid-roccat-koneplus and hid-roccat-pyra to use the
> > > new sysfs_create_bin_group()
> > > koneplus should be finished now (until I find errors)
> > 
> > Wait, they still don't resolve the main problem of this api is still
> > racy and I can't accept it.
> 
> Yeah, I have already pointed Stefan to
> 
> 	 http://lkml.org/lkml/2010/11/13/174
> 
> which he might have missed.

Hello again,

I don't see why these patches can't be applied. The bin attribute group functions standing for themself seem to be useful. The kone driver is already in the stable kernel and has less code with these patches. Though this does not change its functionality its a code cleanup. Thats also true for pyra and koneplus. So for me these are clear improvements until I make progress in the race problem. I will do it, but being a newbe I don't know where to start (feel free to point me to something), so it might take quite some time and sure needs some questions asked.

Have a nice day
Stefan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Aw: Re: [PATCH 0/3] HID: roccat: finishing usage of sysfs_create_bin_group()
  2010-11-16  7:03   ` Aw: " Stefan Achatz
@ 2010-11-16 11:01     ` Jiri Kosina
  0 siblings, 0 replies; 5+ messages in thread
From: Jiri Kosina @ 2010-11-16 11:01 UTC (permalink / raw)
  To: Stefan Achatz; +Cc: gregkh, linux-input, linux-kernel

On Tue, 16 Nov 2010, Stefan Achatz wrote:

> > > > These patches are against the newest roccat file versions (after
> > > > applying everything I released the last days).
> > > > They fix some inattentive (though not critical) failures from previous
> > > > patches and change hid-roccat-koneplus and hid-roccat-pyra to use the
> > > > new sysfs_create_bin_group()
> > > > koneplus should be finished now (until I find errors)
> > > 
> > > Wait, they still don't resolve the main problem of this api is still
> > > racy and I can't accept it.
> > 
> > Yeah, I have already pointed Stefan to
> > 
> > 	 http://lkml.org/lkml/2010/11/13/174
> > 
> > which he might have missed.
> 
> Hello again,
> 
> I don't see why these patches can't be applied. The bin attribute group 
> functions standing for themself seem to be useful. The kone driver is 
> already in the stable kernel and has less code with these patches. 
> Though this does not change its functionality its a code cleanup. Thats 
> also true for pyra and koneplus. So for me these are clear improvements 
> until I make progress in the race problem. I will do it, but being a 
> newbe I don't know where to start (feel free to point me to something), 
> so it might take quite some time and sure needs some questions asked.

Hi Stefan,

the way the driver does things is racy and needs fixing. Introducing 
interface into sysfs/driver core, which we now know is racy, is not 
something we'd like to do.

Thanks,

-- 
Jiri Kosina
SUSE Labs, Novell Inc.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-11-16 11:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-15 20:32 [PATCH 0/3] HID: roccat: finishing usage of sysfs_create_bin_group() Stefan Achatz
2010-11-15 22:08 ` Greg KH
2010-11-15 22:31   ` Jiri Kosina
2010-11-16  7:03   ` Aw: " Stefan Achatz
2010-11-16 11:01     ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).