Re: [patch V2 02/38] posix-cpu-timers: Use common permission check in posix_cpu_clock_get()

2019-08-21 Thread Frederic Weisbecker
On Wed, Aug 21, 2019 at 09:08:49PM +0200, Thomas Gleixner wrote: > Replace the next slightly different copy of permission checks. That also > removes the necessarity to check the return value of the sample functions > because the clock id is already validated. > > Signed-off-by: Thomas Gleixner

[patch V2 02/38] posix-cpu-timers: Use common permission check in posix_cpu_clock_get()

2019-08-21 Thread Thomas Gleixner
Replace the next slightly different copy of permission checks. That also removes the necessarity to check the return value of the sample functions because the clock id is already validated. Signed-off-by: Thomas Gleixner --- kernel/time/posix-cpu-timers.c | 61