[ceph-client:wip-data-pool 11/15] drivers/block/rbd.c:1635:31: error: 'struct rbd_obj_request' has no member named 'object_no'; did you mean 'object_name'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://github.com/ceph/ceph-client.git wip-data-pool
head:   f6b7833f81b61e0807b4cfc914403b3bb3f86185
commit: 65a080b07375ff1c3b9a1d2852c3b93ecf74cbce [11/15] rbd: set offset and length outside of rbd_obj_request_create()
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 65a080b07375ff1c3b9a1d2852c3b93ecf74cbce
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

Note: the ceph-client/wip-data-pool HEAD f6b7833f81b61e0807b4cfc914403b3bb3f86185 builds fine.
      It only hurts bisectibility.

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/printk.h:320:0,
                    from include/linux/kernel.h:13,
                    from include/linux/unaligned/access_ok.h:4,
                    from include/asm-generic/unaligned.h:12,
                    from ./arch/arm/include/generated/asm/unaligned.h:1,
                    from include/linux/ceph/libceph.h:6,
                    from drivers/block/rbd.c:31:
   drivers/block/rbd.c: In function 'rbd_obj_request_submit':
>> drivers/block/rbd.c:1635:31: error: 'struct rbd_obj_request' has no member named 'object_no'; did you mean 'object_name'?
          obj_request, obj_request->object_no, obj_request->offset,
                                  ^
   include/linux/dynamic_debug.h:127:10: note: in definition of macro 'dynamic_pr_debug'
           ##__VA_ARGS__);  \
             ^~~~~~~~~~~
   include/linux/ceph/ceph_debug.h:17:2: note: in expansion of macro 'pr_debug'
     pr_debug("%.*s %12.12s:%-4d : " fmt,    \
     ^~~~~~~~
>> drivers/block/rbd.c:1634:2: note: in expansion of macro 'dout'
     dout("%s %p object_no %016llx %llu~%llu osd_req %p\n", __func__,
     ^~~~

vim +1635 drivers/block/rbd.c

  1628	static void rbd_img_obj_callback(struct rbd_obj_request *obj_request);
  1629	
  1630	static void rbd_obj_request_submit(struct rbd_obj_request *obj_request)
  1631	{
  1632		struct ceph_osd_request *osd_req = obj_request->osd_req;
  1633	
> 1634		dout("%s %p object_no %016llx %llu~%llu osd_req %p\n", __func__,
> 1635		     obj_request, obj_request->object_no, obj_request->offset,
  1636		     obj_request->length, osd_req);
  1637		if (obj_request_img_data_test(obj_request)) {
  1638			WARN_ON(obj_request->callback != rbd_img_obj_callback);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux