Re: [PATCH v2) posix-timers: make it configurable

From: kbuild test robot
Date: Wed Sep 14 2016 - 18:35:48 EST

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 for more information]

config: sparc64-allnoconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
wget -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 <toyoa@xxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxx>

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: Binary data