[staging:staging-testing 201/347] drivers/staging/lustre/lustre/mdc/mdc_request.c:1243:32: error: 'dp' undeclared

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing
head:   f5a9a15f8fd4168e415e94f5dce367f3cef08e03
commit: 4f76f0ec093c2f9ef049495c78d486bfb48e4de0 [201/347] staging: lustre: llite: move dir cache to MDC layer
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
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 4f76f0ec093c2f9ef049495c78d486bfb48e4de0
        # save the attached .config to linux build tree
        make.cross ARCH=alpha 

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

   In file included from include/linux/byteorder/little_endian.h:4:0,
                    from arch/alpha/include/uapi/asm/byteorder.h:4,
                    from include/asm-generic/bitops/le.h:5,
                    from arch/alpha/include/asm/bitops.h:454,
                    from include/linux/bitops.h:36,
                    from include/linux/kernel.h:10,
                    from include/linux/list.h:8,
                    from include/linux/module.h:9,
                    from drivers/staging/lustre/lustre/mdc/mdc_request.c:35:
   drivers/staging/lustre/lustre/mdc/mdc_request.c: In function 'mdc_adjust_dirpages':
>> drivers/staging/lustre/lustre/mdc/mdc_request.c:1243:32: error: 'dp' undeclared (first use in this function)
      __u64 hash_end = le64_to_cpu(dp->ldp_hash_end);
                                   ^
   include/uapi/linux/byteorder/little_endian.h:31:51: note: in definition of macro '__le64_to_cpu'
    #define __le64_to_cpu(x) ((__force __u64)(__le64)(x))
                                                      ^
>> drivers/staging/lustre/lustre/mdc/mdc_request.c:1243:20: note: in expansion of macro 'le64_to_cpu'
      __u64 hash_end = le64_to_cpu(dp->ldp_hash_end);
                       ^
   drivers/staging/lustre/lustre/mdc/mdc_request.c:1243:32: note: each undeclared identifier is reported only once for each function it appears in
      __u64 hash_end = le64_to_cpu(dp->ldp_hash_end);
                                   ^
   include/uapi/linux/byteorder/little_endian.h:31:51: note: in definition of macro '__le64_to_cpu'
    #define __le64_to_cpu(x) ((__force __u64)(__le64)(x))
                                                      ^
>> drivers/staging/lustre/lustre/mdc/mdc_request.c:1243:20: note: in expansion of macro 'le64_to_cpu'
      __u64 hash_end = le64_to_cpu(dp->ldp_hash_end);
                       ^

vim +/dp +1243 drivers/staging/lustre/lustre/mdc/mdc_request.c

  1237	#if PAGE_SIZE > LU_PAGE_SIZE
  1238	static void mdc_adjust_dirpages(struct page **pages, int cfs_pgs, int lu_pgs)
  1239	{
  1240		int i;
  1241	
  1242		for (i = 0; i < cfs_pgs; i++) {
> 1243			__u64 hash_end = le64_to_cpu(dp->ldp_hash_end);
  1244			__u32 flags = le32_to_cpu(dp->ldp_flags);
  1245			struct lu_dirpage *dp = kmap(pages[i]);
  1246			struct lu_dirpage *first = dp;

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

Attachment: .config.gz
Description: Binary data

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux