From: Andy Lutomirski Date: Thu, 16 Apr 2015 19:44:47 +0000 (-0700) Subject: errno.h: Improve ENOSYS's comment X-Git-Tag: omap-for-v4.1/fixes-rc1~115^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e15f431fe2d53cd4673510736da7d4fa1090e096;p=pandora-kernel.git errno.h: Improve ENOSYS's comment ENOSYS is the mechanism used by user code to detect whether the running kernel implements a given system call. It should not be returned by anything except an unimplemented system call. Unfortunately, it is rather frequently used in the kernel to indicate that various new functions of existing system calls are not implemented. This should be discouraged. Improve the comment in errno.h to help clarify ENOSYS's purpose. Signed-off-by: Andy Lutomirski Cc: Pavel Machek Cc: Michael Kerrisk Cc: Joe Perches Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed