From: kernel test robot <lkp@intel.com>
To: David Howells <dhowells@redhat.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [dhowells-fs:ceph-iter 87/87] net/ceph/messenger_v2.c:3224:29: error: no member named 'out_enc_pages' in 'struct ceph_connection_v2_info'
Date: Sat, 05 Sep 2026 12:43:25 +0800 [thread overview]
Message-ID: <202609051259.dQVMG4oz-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git ceph-iter
head: 376ad9d4942bf11500931178bbeb965348f01057
commit: 376ad9d4942bf11500931178bbeb965348f01057 [87/87] ceph: Don't use data_pages
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20260905/202609051259.dQVMG4oz-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 0edd1b088cc36b4faee80358c925a91e16006258)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260905/202609051259.dQVMG4oz-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/202609051259.dQVMG4oz-lkp@intel.com/
All errors (new ones prefixed by >>):
>> net/ceph/messenger_v2.c:3224:29: error: no member named 'out_enc_pages' in 'struct ceph_connection_v2_info'
3224 | bvec_set_page(&bv, con->v2.out_enc_pages[con->v2.out_enc_i],
| ~~~~~~~ ^
>> net/ceph/messenger_v2.c:3232:32: error: use of undeclared identifier 'OUT_S_QUEUE_ENC_PAGE'
3232 | WARN_ON(con->v2.out_state != OUT_S_QUEUE_ENC_PAGE);
| ^~~~~~~~~~~~~~~~~~~~
net/ceph/messenger_v2.c:3270:14: error: no member named 'out_enc_pages' in 'struct ceph_connection_v2_info'
3270 | if (con->v2.out_enc_pages) {
| ~~~~~~~ ^
net/ceph/messenger_v2.c:3272:36: error: no member named 'out_enc_pages' in 'struct ceph_connection_v2_info'
3272 | ceph_release_page_vector(con->v2.out_enc_pages,
| ~~~~~~~ ^
net/ceph/messenger_v2.c:3274:11: error: no member named 'out_enc_pages' in 'struct ceph_connection_v2_info'
3274 | con->v2.out_enc_pages = NULL;
| ~~~~~~~ ^
net/ceph/messenger_v2.c:3310:7: error: use of undeclared identifier 'OUT_S_QUEUE_ENC_PAGE'
3310 | case OUT_S_QUEUE_ENC_PAGE:
| ^~~~~~~~~~~~~~~~~~~~
net/ceph/messenger_v2.c:3634:32: error: use of undeclared identifier 'OUT_S_QUEUE_ENC_PAGE'
3634 | WARN_ON(con->v2.out_state != OUT_S_QUEUE_ENC_PAGE &&
| ^~~~~~~~~~~~~~~~~~~~
net/ceph/messenger_v2.c:3802:14: error: no member named 'out_enc_pages' in 'struct ceph_connection_v2_info'
3802 | if (con->v2.out_enc_pages) {
| ~~~~~~~ ^
net/ceph/messenger_v2.c:3804:36: error: no member named 'out_enc_pages' in 'struct ceph_connection_v2_info'
3804 | ceph_release_page_vector(con->v2.out_enc_pages,
| ~~~~~~~ ^
net/ceph/messenger_v2.c:3806:11: error: no member named 'out_enc_pages' in 'struct ceph_connection_v2_info'
3806 | con->v2.out_enc_pages = NULL;
| ~~~~~~~ ^
10 errors generated.
vim +3224 net/ceph/messenger_v2.c
cd1a677cad9940 Ilya Dryomov 2020-11-19 3215
cd1a677cad9940 Ilya Dryomov 2020-11-19 3216 static void queue_enc_page(struct ceph_connection *con)
cd1a677cad9940 Ilya Dryomov 2020-11-19 3217 {
cd1a677cad9940 Ilya Dryomov 2020-11-19 3218 struct bio_vec bv;
cd1a677cad9940 Ilya Dryomov 2020-11-19 3219
cd1a677cad9940 Ilya Dryomov 2020-11-19 3220 dout("%s con %p i %d resid %d\n", __func__, con, con->v2.out_enc_i,
cd1a677cad9940 Ilya Dryomov 2020-11-19 3221 con->v2.out_enc_resid);
cd1a677cad9940 Ilya Dryomov 2020-11-19 3222 WARN_ON(!con->v2.out_enc_resid);
cd1a677cad9940 Ilya Dryomov 2020-11-19 3223
1eb9cd15004fa9 Christoph Hellwig 2023-02-03 @3224 bvec_set_page(&bv, con->v2.out_enc_pages[con->v2.out_enc_i],
1eb9cd15004fa9 Christoph Hellwig 2023-02-03 3225 min(con->v2.out_enc_resid, (int)PAGE_SIZE), 0);
cd1a677cad9940 Ilya Dryomov 2020-11-19 3226
cd1a677cad9940 Ilya Dryomov 2020-11-19 3227 set_out_bvec(con, &bv, false);
cd1a677cad9940 Ilya Dryomov 2020-11-19 3228 con->v2.out_enc_i++;
cd1a677cad9940 Ilya Dryomov 2020-11-19 3229 con->v2.out_enc_resid -= bv.bv_len;
cd1a677cad9940 Ilya Dryomov 2020-11-19 3230
cd1a677cad9940 Ilya Dryomov 2020-11-19 3231 if (con->v2.out_enc_resid) {
cd1a677cad9940 Ilya Dryomov 2020-11-19 @3232 WARN_ON(con->v2.out_state != OUT_S_QUEUE_ENC_PAGE);
cd1a677cad9940 Ilya Dryomov 2020-11-19 3233 return;
cd1a677cad9940 Ilya Dryomov 2020-11-19 3234 }
cd1a677cad9940 Ilya Dryomov 2020-11-19 3235
cd1a677cad9940 Ilya Dryomov 2020-11-19 3236 /*
cd1a677cad9940 Ilya Dryomov 2020-11-19 3237 * We've queued the last piece of ciphertext (ending with
cd1a677cad9940 Ilya Dryomov 2020-11-19 3238 * epilogue) + auth tag. Once it's written, we are done.
cd1a677cad9940 Ilya Dryomov 2020-11-19 3239 */
cd1a677cad9940 Ilya Dryomov 2020-11-19 3240 WARN_ON(con->v2.out_enc_i != con->v2.out_enc_page_cnt);
cd1a677cad9940 Ilya Dryomov 2020-11-19 3241 con->v2.out_state = OUT_S_FINISH_MESSAGE;
cd1a677cad9940 Ilya Dryomov 2020-11-19 3242 }
cd1a677cad9940 Ilya Dryomov 2020-11-19 3243
:::::: The code at line 3224 was first introduced by commit
:::::: 1eb9cd15004fa91b6d1911af9fbaff299d8e9e45 libceph: use bvec_set_page to initialize bvecs
:::::: TO: Christoph Hellwig <hch@lst.de>
:::::: CC: Jens Axboe <axboe@kernel.dk>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-09-05 4:43 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=202609051259.dQVMG4oz-lkp@intel.com \
--to=lkp@intel.com \
--cc=dhowells@redhat.com \
--cc=llvm@lists.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox