From: Thomas Gleixner Date: Sat, 6 Sep 2014 10:18:07 +0000 (+0200) Subject: compat: nanosleep: Clarify error handling X-Git-Tag: fixes-v3.17-rc4~12^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=849151dd5481bc8acb1d287a299b5d6a4ca9f1c3;p=pandora-kernel.git compat: nanosleep: Clarify error handling The error handling in compat_sys_nanosleep() is correct, but completely non obvious. Document it and restrict it to the -ERESTART_RESTARTBLOCK return value for clarity. Reported-by: Kees Cook Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed