lkml.org 
[lkml]   [2019]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip: timers/core] posix-cpu-timers: Use common permission check in posix_cpu_clock_get()
On Thu, 29 Aug 2019, kbuild test robot wrote:
> Thank you for the patch! Yet something to improve:
>
> [auto build test ERROR on linus/master]
> [cannot apply to v5.3-rc6 next-20190828]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

I have no idea what you are testing there.

> kernel/time/posix-cpu-timers.c: In function 'posix_cpu_clock_get':
> >> kernel/time/posix-cpu-timers.c:275:8: error: implicit declaration of function 'get_task_for_clock'; did you mean 'get_task_struct'? [-Werror=implicit-function-declaration]
> tsk = get_task_for_clock(clock);
> ^~~~~~~~~~~~~~~~~~
> get_task_struct
> >> kernel/time/posix-cpu-timers.c:275:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
> tsk = get_task_for_clock(clock);
> ^
> cc1: some warnings being treated as errors

That commit comes _after_ the commit which introduced the function and
get_task_for_clock() is defined above posix_cpu_clock_get(), so I assume
you missed to apply the commit on which this depends on.

Thanks,

tglx

\
 
 \ /
  Last update: 2019-08-29 13:23    [W:0.099 / U:8.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site