From: Namhyung Kim Date: Tue, 1 Feb 2011 23:52:46 +0000 (-0800) Subject: vfs: sparse: add __FMODE_EXEC X-Git-Tag: v2.6.38-rc4~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cd90ea42f2c15f928b70ed66f6d8ed0a8e7aadd;p=pandora-kernel.git vfs: sparse: add __FMODE_EXEC FMODE_EXEC is a constant type of fmode_t but was used with normal integer constants. This results in following warnings from sparse. Fix it using new macro __FMODE_EXEC. fs/exec.c:116:58: warning: restricted fmode_t degrades to integer fs/exec.c:689:58: warning: restricted fmode_t degrades to integer fs/fcntl.c:777:9: warning: restricted fmode_t degrades to integer Signed-off-by: Namhyung Kim Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed