All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kent Overstreet <kent.overstreet@linux.dev>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [koverstreet-bcachefs:bcachefs-testing 928/938] fs/bcachefs/data/compress.c:91:13: warning: 'bio_phys_contig' defined but not used
Date: Wed, 19 Nov 2025 11:25:08 +0800	[thread overview]
Message-ID: <202511191104.SG9I2ACt-lkp@intel.com> (raw)

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

                 reply	other threads:[~2025-11-19  3:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202511191104.SG9I2ACt-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kent.overstreet@linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.