All of lore.kernel.org
 help / color / mirror / Atom feed
* [koverstreet-bcachefs:bcachefs-testing 928/938] fs/bcachefs/data/compress.c:91:13: warning: 'bio_phys_contig' defined but not used
@ 2025-11-19  3:25 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-11-19  3:25 UTC (permalink / raw)
  To: Kent Overstreet; +Cc: oe-kbuild-all

tree:   https://github.com/koverstreet/bcachefs bcachefs-testing
head:   d04553e82dc579b00db91a9bf53d148425c00f7e
commit: 9d8c0abd05770eb55042839e565e3cf44302af44 [928/938] bcachefs: kill off bvec.bv_page uses
config: arm-randconfig-004-20251119 (https://download.01.org/0day-ci/archive/20251119/202511191104.SG9I2ACt-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251119/202511191104.SG9I2ACt-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/202511191104.SG9I2ACt-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> fs/bcachefs/data/compress.c:91:13: warning: 'bio_phys_contig' defined but not used [-Wunused-function]
      91 | static bool bio_phys_contig(struct bio *bio, struct bvec_iter start)
         |             ^~~~~~~~~~~~~~~


vim +/bio_phys_contig +91 fs/bcachefs/data/compress.c

2fa23a10a54b61f fs/bcachefs/data/compress.c Kent Overstreet 2025-10-30   90  
c4dd7871ef71a73 fs/bcachefs/compress.c      Kent Overstreet 2020-05-06  @91  static bool bio_phys_contig(struct bio *bio, struct bvec_iter start)
c4dd7871ef71a73 fs/bcachefs/compress.c      Kent Overstreet 2020-05-06   92  {
c4dd7871ef71a73 fs/bcachefs/compress.c      Kent Overstreet 2020-05-06   93  	struct bio_vec bv;
c4dd7871ef71a73 fs/bcachefs/compress.c      Kent Overstreet 2020-05-06   94  	struct bvec_iter iter;
c4dd7871ef71a73 fs/bcachefs/compress.c      Kent Overstreet 2020-05-06   95  	void *expected_start = NULL;
c4dd7871ef71a73 fs/bcachefs/compress.c      Kent Overstreet 2020-05-06   96  
c4dd7871ef71a73 fs/bcachefs/compress.c      Kent Overstreet 2020-05-06   97  	__bio_for_each_bvec(bv, bio, iter, start) {
9d8c0abd05770eb fs/bcachefs/data/compress.c Kent Overstreet 2025-11-17   98  		void *bv_addr = bvec_virt(&bv);
9d8c0abd05770eb fs/bcachefs/data/compress.c Kent Overstreet 2025-11-17   99  
9d8c0abd05770eb fs/bcachefs/data/compress.c Kent Overstreet 2025-11-17  100  		if (expected_start && expected_start != bv_addr)
c4dd7871ef71a73 fs/bcachefs/compress.c      Kent Overstreet 2020-05-06  101  			return false;
c4dd7871ef71a73 fs/bcachefs/compress.c      Kent Overstreet 2020-05-06  102  
9d8c0abd05770eb fs/bcachefs/data/compress.c Kent Overstreet 2025-11-17  103  		expected_start = bv_addr + bv.bv_len;
c4dd7871ef71a73 fs/bcachefs/compress.c      Kent Overstreet 2020-05-06  104  	}
c4dd7871ef71a73 fs/bcachefs/compress.c      Kent Overstreet 2020-05-06  105  
c4dd7871ef71a73 fs/bcachefs/compress.c      Kent Overstreet 2020-05-06  106  	return true;
c4dd7871ef71a73 fs/bcachefs/compress.c      Kent Overstreet 2020-05-06  107  }
c4dd7871ef71a73 fs/bcachefs/compress.c      Kent Overstreet 2020-05-06  108  

:::::: The code at line 91 was first introduced by commit
:::::: c4dd7871ef71a7327b6b3834e2cdf6777e03eb0a bcachefs: Some compression improvements

:::::: TO: Kent Overstreet <kent.overstreet@gmail.com>
:::::: CC: Kent Overstreet <kent.overstreet@linux.dev>

-- 
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-11-19  3:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-19  3:25 [koverstreet-bcachefs:bcachefs-testing 928/938] fs/bcachefs/data/compress.c:91:13: warning: 'bio_phys_contig' defined but not used 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.