diff options
| author | Namhyung Kim <[email protected]> | 2011-02-01 23:52:46 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-02-03 00:03:19 +0000 |
| commit | 3cd90ea42f2c15f928b70ed66f6d8ed0a8e7aadd (patch) | |
| tree | 2e27c807baaec2e6528cd5431d57308a4d874dea /net/unix/af_unix.c | |
| parent | vfs: sparse: remove a warning on OPEN_FMODE() (diff) | |
| download | kernel-3cd90ea42f2c15f928b70ed66f6d8ed0a8e7aadd.tar.gz kernel-3cd90ea42f2c15f928b70ed66f6d8ed0a8e7aadd.zip | |
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 <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
