aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorVasily Averin <[email protected]>2022-05-22 15:08:02 +0300
committerJan Kara <[email protected]>2022-05-23 11:42:53 +0200
commitdccd855771b37820b6d976a99729c88259549f85 (patch)
treef11585ae60d627b8ea204b803ccb0fb03aa456f9 /lib/test_fortify/write_overflow-strlcpy-src.c
parente730558adffb88a52e562db089e969ee9510184a (diff)
fanotify: fix incorrect fmode_t casts
Fixes sparce warnings: fs/notify/fanotify/fanotify_user.c:267:63: sparse: warning: restricted fmode_t degrades to integer fs/notify/fanotify/fanotify_user.c:1351:28: sparse: warning: restricted fmode_t degrades to integer FMODE_NONTIFY have bitwise fmode_t type and requires __force attribute for any casts. Signed-off-by: Vasily Averin <[email protected]> Reviewed-by: Christian Brauner (Microsoft) <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions