Re: [PATCH] fs : Fix warning using plain integer as NULL

2023-11-08 Thread Abhinav Singh
On 11/8/23 16:17, Abhinav Singh wrote: Sparse static analysis tools generate a warning with this message "Using plain integer as NULL pointer". In this case this warning is being shown because we are trying to initialize pointer to NULL using integer value 0. Signed-off-by: Abhinav Singh Revie

[PATCH] fs : Fix warning using plain integer as NULL

2023-11-08 Thread Abhinav Singh
Sparse static analysis tools generate a warning with this message "Using plain integer as NULL pointer". In this case this warning is being shown because we are trying to initialize pointer to NULL using integer value 0. Signed-off-by: Abhinav Singh Reviewed-by: Jan Kara --- fs/dax.c | 2

Re: [PATCH] fs : Fix warning using plain integer as NULL

2023-11-08 Thread Jan Kara
On Wed 08-11-23 10:15:50, Abhinav Singh wrote: > Sparse static analysis tools generate a warning with this message > "Using plain integer as NULL pointer". In this case this warning is > being shown because we are trying to initialize pointer to NULL using > integer value 0. > > Signed-off-by: Ab

Re: [PATCH] fs : Fix warning using plain integer as NULL

2023-11-08 Thread Christian Brauner
On Wed, 08 Nov 2023 10:15:50 +0530, Abhinav Singh wrote: > Sparse static analysis tools generate a warning with this message > "Using plain integer as NULL pointer". In this case this warning is > being shown because we are trying to initialize pointer to NULL using > integer value 0. > > Appli

[PATCH] fs : Fix warning using plain integer as NULL

2023-11-07 Thread Abhinav Singh
Sparse static analysis tools generate a warning with this message "Using plain integer as NULL pointer". In this case this warning is being shown because we are trying to initialize pointer to NULL using integer value 0. Signed-off-by: Abhinav Singh --- fs/dax.c | 2 +- fs/direct-io.c | 2