Pointers should use NULL instead of explicit '0', as pointed out by sparse:
fs/fuse/dev.c:2151:48: Using plain integer as NULL pointer
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202605071323.XbMBRsje-lkp@intel.com/
Signed-off-by: Dongyang Jin <jindongyang@kylinos.cn>
---
fs/fuse/dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c
index be4e66ed633c..6e5439515ead 100644
--- a/fs/fuse/dev.c
+++ b/fs/fuse/dev.c
@@ -2148,7 +2148,7 @@ void fuse_chan_abort(struct fuse_chan *fch, bool abort_with_err)
fch->connected = 0;
spin_unlock(&fch->bg_lock);
- fuse_chan_set_initialized(fch, 0);
+ fuse_chan_set_initialized(fch, NULL);
list_for_each_entry(fud, &fch->devices, entry) {
struct fuse_pqueue *fpq = &fud->pq;
--
2.25.1