* [djwong-xfs:fuse-iomap-cache 43/45] fs/fuse/file_iomap.c:1997 fuse_iomap_upsert_validate_dev() error: uninitialized symbol 'map_end'.
@ 2025-06-14 23:39 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-06-14 23:39 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp, Dan Carpenter
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: "Darrick J. Wong" <darrick.wong@oracle.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git fuse-iomap-cache
head: 62857bad704590b8ed2cc579b4a859b953b93d5f
commit: 7954c15726a337e560ff0506896f2095e111cec9 [43/45] fuse: enable iomap cache management
:::::: branch date: 30 hours ago
:::::: commit date: 30 hours ago
config: x86_64-randconfig-161-20250615 (https://download.01.org/0day-ci/archive/20250615/202506150737.o7ZdCn6W-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202506150737.o7ZdCn6W-lkp@intel.com/
smatch warnings:
fs/fuse/file_iomap.c:1997 fuse_iomap_upsert_validate_dev() error: uninitialized symbol 'map_end'.
vim +/map_end +1997 fs/fuse/file_iomap.c
7954c15726a337 Darrick J. Wong 2025-05-30 1978
7954c15726a337 Darrick J. Wong 2025-05-30 1979 static inline int
7954c15726a337 Darrick J. Wong 2025-05-30 1980 fuse_iomap_upsert_validate_dev(
7954c15726a337 Darrick J. Wong 2025-05-30 1981 const struct fuse_iomap_dev *fb,
7954c15726a337 Darrick J. Wong 2025-05-30 1982 uint16_t map_type,
7954c15726a337 Darrick J. Wong 2025-05-30 1983 uint64_t map_addr,
7954c15726a337 Darrick J. Wong 2025-05-30 1984 uint64_t map_length)
7954c15726a337 Darrick J. Wong 2025-05-30 1985 {
7954c15726a337 Darrick J. Wong 2025-05-30 1986 uint64_t map_end;
7954c15726a337 Darrick J. Wong 2025-05-30 1987 sector_t device_bytes;
7954c15726a337 Darrick J. Wong 2025-05-30 1988
7954c15726a337 Darrick J. Wong 2025-05-30 1989 if (!fb)
7954c15726a337 Darrick J. Wong 2025-05-30 1990 return 0;
7954c15726a337 Darrick J. Wong 2025-05-30 1991
7954c15726a337 Darrick J. Wong 2025-05-30 1992 if (map_addr != FUSE_IOMAP_NULL_ADDR &&
7954c15726a337 Darrick J. Wong 2025-05-30 1993 BAD_DATA(check_add_overflow(map_addr, map_length, &map_end)))
7954c15726a337 Darrick J. Wong 2025-05-30 1994 return -EIO;
7954c15726a337 Darrick J. Wong 2025-05-30 1995
7954c15726a337 Darrick J. Wong 2025-05-30 1996 device_bytes = bdev_nr_sectors(fb->bdev) << SECTOR_SHIFT;
7954c15726a337 Darrick J. Wong 2025-05-30 @1997 if (BAD_DATA(map_end > device_bytes))
7954c15726a337 Darrick J. Wong 2025-05-30 1998 return -EIO;
7954c15726a337 Darrick J. Wong 2025-05-30 1999
7954c15726a337 Darrick J. Wong 2025-05-30 2000 return 0;
7954c15726a337 Darrick J. Wong 2025-05-30 2001 }
7954c15726a337 Darrick J. Wong 2025-05-30 2002
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-06-14 23:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-14 23:39 [djwong-xfs:fuse-iomap-cache 43/45] fs/fuse/file_iomap.c:1997 fuse_iomap_upsert_validate_dev() error: uninitialized symbol 'map_end' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.