[PATCH v2] sparse: use force attribute for vm_fault_t casts

2022-05-14 Thread Vasily Averin
Fixes sparse warnings: ./include/trace/events/fs_dax.h:10:1: sparse: got restricted vm_fault_t ./include/trace/events/fs_dax.h:153:1: sparse: got restricted vm_fault_t fs/dax.c:563:39: sparse:got restricted vm_fault_t fs/dax.c:565:39: sparse:got restricted vm_fault_t fs/dax.c:569:31

Re: [PATCH] sparse: use force attribute for vm_fault_t casts

2022-05-14 Thread Matthew Wilcox
On Sat, May 14, 2022 at 05:26:21PM +0300, Vasily Averin wrote: > Fixes sparse warnings: > ./include/trace/events/fs_dax.h:10:1: sparse: > got restricted vm_fault_t > ./include/trace/events/fs_dax.h:153:1: sparse: > got restricted vm_fault_t > fs/dax.c:563:39: sparse:got restricted vm_fa

[PATCH] sparse: use force attribute for vm_fault_t casts

2022-05-14 Thread Vasily Averin
Fixes sparse warnings: ./include/trace/events/fs_dax.h:10:1: sparse: got restricted vm_fault_t ./include/trace/events/fs_dax.h:153:1: sparse: got restricted vm_fault_t fs/dax.c:563:39: sparse:got restricted vm_fault_t fs/dax.c:565:39: sparse:got restricted vm_fault_t fs/dax.c:569:31