All of lore.kernel.org
 help / color / mirror / Atom feed
* [djwong-xfs:twf-hoist 568/627] fs/iomap/buffered-io.c:432:10: warning: return makes pointer from integer without a cast
@ 2024-03-21 13:02 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-21 13:02 UTC (permalink / raw)
  To: Darrick J. Wong; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git twf-hoist
head:   709c2aed7586c3ac6a9d636355c623611d5c14d1
commit: f0f93bf8ee6030bdb20d406b20b6632cac7aa8bc [568/627] iomap: dynamically allocate fsverity bioset
config: um-i386_defconfig (https://download.01.org/0day-ci/archive/20240321/202403212006.omSDqbcm-lkp@intel.com/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240321/202403212006.omSDqbcm-lkp@intel.com/reproduce)

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>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403212006.omSDqbcm-lkp@intel.com/

All warnings (new ones prefixed by >>):

   fs/iomap/buffered-io.c: In function 'iomap_read_bio_alloc':
   fs/iomap/buffered-io.c:432:10: error: implicit declaration of function 'iomap_fsverity_read_bio_alloc'; did you mean 'iomap_verity_read_bio_alloc'? [-Werror=implicit-function-declaration]
      return iomap_fsverity_read_bio_alloc(inode, bdev, nr_vecs, gfp);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             iomap_verity_read_bio_alloc
>> fs/iomap/buffered-io.c:432:10: warning: return makes pointer from integer without a cast [-Wint-conversion]
      return iomap_fsverity_read_bio_alloc(inode, bdev, nr_vecs, gfp);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +432 fs/iomap/buffered-io.c

   425	
   426	static struct bio *iomap_read_bio_alloc(struct inode *inode,
   427			struct block_device *bdev, int nr_vecs, gfp_t gfp)
   428	{
   429		struct bio *bio;
   430	
   431		if (fsverity_active(inode))
 > 432			return iomap_fsverity_read_bio_alloc(inode, bdev, nr_vecs, gfp);
   433	
   434		bio = bio_alloc(bdev, nr_vecs, REQ_OP_READ, gfp);
   435		if (bio)
   436			bio->bi_end_io = iomap_read_end_io;
   437		return bio;
   438	}
   439	

-- 
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:[~2024-03-21 13:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-21 13:02 [djwong-xfs:twf-hoist 568/627] fs/iomap/buffered-io.c:432:10: warning: return makes pointer from integer without a cast 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.