From: Namhyung Kim Date: Tue, 1 Feb 2011 23:52:46 +0000 (-0800) Subject: vfs: sparse: remove a warning on OPEN_FMODE() X-Git-Tag: v2.6.38-rc4~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a44bc8c7cfe69756a116d38aef992d50fc1969d;p=pandora-kernel.git vfs: sparse: remove a warning on OPEN_FMODE() AND-ing FMODE_* constant with normal integer results in following sparse warnings. Fix it. fs/open.c:662:21: warning: restricted fmode_t degrades to integer fs/anon_inodes.c:123:34: 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