• Miklos Szeredi's avatar
    fuse: cleanup fuse_direct_io() · fb05f41f
    Miklos Szeredi authored
    
    
    Fix the following sparse warnings:
    
    fs/fuse/file.c:1216:43: warning: cast removes address space of expression
    fs/fuse/file.c:1216:43: warning: incorrect type in initializer (different address spaces)
    fs/fuse/file.c:1216:43:    expected void [noderef] <asn:1>*iov_base
    fs/fuse/file.c:1216:43:    got void *<noident>
    fs/fuse/file.c:1241:43: warning: cast removes address space of expression
    fs/fuse/file.c:1241:43: warning: incorrect type in initializer (different address spaces)
    fs/fuse/file.c:1241:43:    expected void [noderef] <asn:1>*iov_base
    fs/fuse/file.c:1241:43:    got void *<noident>
    fs/fuse/file.c:1267:43: warning: cast removes address space of expression
    fs/fuse/file.c:1267:43: warning: incorrect type in initializer (different address spaces)
    fs/fuse/file.c:1267:43:    expected void [noderef] <asn:1>*iov_base
    fs/fuse/file.c:1267:43:    got void *<noident>
    Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
    fb05f41f
file.c 56.3 KB