Re: [PATCH RFC 1/8] Introduce dynamic clock devices

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnd Bergmann
Date: Monday, December 6, 2010 - 7:14 am

On Saturday 04 December 2010, Richard Cochran wrote:

Ok, it wasn't clear that you use this to hook the existing file
operations, I now understand why you did it this way, but I think
my point is still valid.


Yes, exactly.


No need, these rarely change. More importantly, if you want to offer
a consistent interface across all these, I would make the interface
as restrictive as possible rather than offering all of the file
operations. Have a look which operations are actually used by the
character devices you want to support, and then pass through the
superset of those, but not more.

	Arnd
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH RFC 0/8] Dynamic clock devices, Richard Cochran, (Thu Nov 4, 12:26 pm)
[PATCH RFC 1/8] Introduce dynamic clock devices, Richard Cochran, (Thu Nov 4, 12:28 pm)
[PATCH RFC 2/8] clock device: convert clock_gettime, Richard Cochran, (Thu Nov 4, 12:28 pm)
[PATCH RFC 3/8] clock device: convert clock_getres, Richard Cochran, (Thu Nov 4, 12:28 pm)
[PATCH RFC 4/8] clock device: convert clock_settime, Richard Cochran, (Thu Nov 4, 12:29 pm)
[PATCH RFC 5/8] clock device: convert timer_create, Richard Cochran, (Thu Nov 4, 12:29 pm)
[PATCH RFC 6/8] clock device: convert timer_delete, Richard Cochran, (Thu Nov 4, 12:30 pm)
[PATCH RFC 7/8] clock device: convert timer_gettime, Richard Cochran, (Thu Nov 4, 12:30 pm)
[PATCH RFC 8/8] clock device: convert timer_settime, Richard Cochran, (Thu Nov 4, 12:30 pm)
Re: [PATCH RFC 1/8] Introduce dynamic clock devices, Arnd Bergmann, (Sun Nov 7, 11:38 pm)
Re: [PATCH RFC 2/8] clock device: convert clock_gettime, Arnd Bergmann, (Sun Nov 7, 11:56 pm)
Re: [PATCH RFC 0/8] Dynamic clock devices, john stultz, (Mon Nov 8, 4:01 pm)
Re: [PATCH RFC 2/8] clock device: convert clock_gettime, Richard Cochran, (Tue Nov 9, 1:23 am)
Re: [PATCH RFC 2/8] clock device: convert clock_gettime, Richard Cochran, (Tue Nov 9, 3:26 am)
Re: [PATCH RFC 2/8] clock device: convert clock_gettime, Arnd Bergmann, (Tue Nov 9, 5:47 am)
Re: [PATCH RFC 2/8] clock device: convert clock_gettime, Arnd Bergmann, (Wed Nov 10, 3:16 am)
Re: [PATCH RFC 0/8] Dynamic clock devices, Richard Cochran, (Mon Nov 15, 2:34 am)
Re: [PATCH RFC 2/8] clock device: convert clock_gettime, Richard Cochran, (Mon Nov 15, 2:41 am)
Re: [PATCH RFC 0/8] Dynamic clock devices, Paul Mundt, (Mon Nov 15, 3:01 am)
Re: [PATCH RFC 0/8] Dynamic clock devices, Richard Cochran, (Thu Nov 18, 9:33 am)
Re: [PATCH RFC 1/8] Introduce dynamic clock devices, Richard Cochran, (Sat Dec 4, 7:55 am)
Re: [PATCH RFC 1/8] Introduce dynamic clock devices, Arnd Bergmann, (Mon Dec 6, 7:14 am)