diff options
author | Min-Hua Chen <minhuadotchen@gmail.com> | 2023-05-03 02:22:08 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-05-15 14:14:01 +0300 |
commit | cedd0bdc166001fef26da475143ba4ebaf230261 (patch) | |
tree | 88d7158088e70fefd02716de856d179408d2d51d /fs/coredump.c | |
parent | 1168f095417643f663caa341211e117db552989f (diff) | |
download | linux-cedd0bdc166001fef26da475143ba4ebaf230261.tar.xz |
fs: fix incorrect fmode_t casts
Use __FMODE_NONOTIFY instead of FMODE_NONOTIFY to fixes
the following sparce warnings:
fs/overlayfs/file.c:48:37: sparse: warning: restricted fmode_t degrades to integer
fs/overlayfs/file.c:128:13: sparse: warning: restricted fmode_t degrades to integer
fs/open.c:1159:21: sparse: warning: restricted fmode_t degrades to integer
Signed-off-by: Min-Hua Chen <minhuadotchen@gmail.com>
Message-Id: <20230502232210.119063-1-minhuadotchen@gmail.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/coredump.c')
0 files changed, 0 insertions, 0 deletions