Hi Nicolas,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.8-rc6 next-20160914]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for 
convenience) to record what (public, well-known) commit your patch series was 
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    
https://github.com/0day-ci/linux/commits/Nicolas-Pitre/PATCH-v2-posix-timers-make-it-configurable/20160915-045004
config: sparc64-allnoconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
        wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

All errors (new ones prefixed by >>):

   kernel/compat.c: In function 'compat_clock_nanosleep_restart':
>> kernel/compat.c:824:8: error: implicit declaration of function 
>> 'clock_nanosleep_restart' [-Werror=implicit-function-declaration]
     err = clock_nanosleep_restart(restart);
           ^
   cc1: some warnings being treated as errors

vim +/clock_nanosleep_restart +824 kernel/compat.c

1711ef38 Toyo Abe        2006-09-29  818        struct timespec tu;
dce44e03 H. Peter Anvin  2014-02-02  819        struct compat_timespec __user 
*rmtp = restart->nanosleep.compat_rmtp;
1711ef38 Toyo Abe        2006-09-29  820  
029a07e0 Thomas Gleixner 2008-02-10  821        restart->nanosleep.rmtp = 
(struct timespec __user *) &tu;
1711ef38 Toyo Abe        2006-09-29  822        oldfs = get_fs();
1711ef38 Toyo Abe        2006-09-29  823        set_fs(KERNEL_DS);
1711ef38 Toyo Abe        2006-09-29 @824        err = 
clock_nanosleep_restart(restart);
1711ef38 Toyo Abe        2006-09-29  825        set_fs(oldfs);
1711ef38 Toyo Abe        2006-09-29  826  
1711ef38 Toyo Abe        2006-09-29  827        if ((err == 
-ERESTART_RESTARTBLOCK) && rmtp &&

:::::: The code at line 824 was first introduced by commit
:::::: 1711ef3866b0360e102327389fe4b76c849bbe83 [PATCH] posix-timers: Fix 
clock_nanosleep() doesn't return the remaining time in compatibility mode

:::::: TO: Toyo Abe <[email protected]>
:::::: CC: Linus Torvalds <[email protected]>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data

Reply via email to