On Mon, May 23, 2022 at 06:37:29AM +0300, Vasily Averin wrote: > Fixes sparce warnings: > fs/proc/base.c:2240:25: sparse: warning: cast to restricted fmode_t > fs/proc/base.c:2297:42: sparse: warning: cast from restricted fmode_t > fs/proc/base.c:2394:48: sparse: warning: cast from restricted fmode_t > > fmode_t is birwie type and requires __force attribute for any cast > > Signed-off-by: Vasily Averin <vvs@xxxxxxxxxx> > Reviewed-by: Christoph Hellwig <hch@xxxxxx> Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>