All of lore.kernel.org
 help / color / mirror / Atom feed
* [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'
@ 2026-09-05  1:24 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-09-05  1:24 UTC (permalink / raw)
  To: David Howells; +Cc: oe-kbuild-all

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: x86_64-allmodconfig (https://download.01.org/0day-ci/archive/20260905/202609050307.suQsH6op-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260905/202609050307.suQsH6op-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/202609050307.suQsH6op-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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [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'
@ 2026-09-05  4:43 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-09-05  4:43 UTC (permalink / raw)
  To: David Howells; +Cc: llvm, oe-kbuild-all

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-05  4:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05  4:43 [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' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2026-09-05  1:24 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.