Hi Davidlohr,

[auto build test WARNING on staging/staging-testing]
[also build test WARNING on v4.11-rc1 next-20170309]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:    
https://github.com/0day-ci/linux/commits/Davidlohr-Bueso/locking-Introduce-range-reader-writer-lock/20170309-140444
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   In file included from 
drivers/staging/lustre/lustre/llite/../include/lustre/lustre_idl.h:76:0,
                    from 
drivers/staging/lustre/lustre/llite/../include/lustre_lib.h:49,
                    from 
drivers/staging/lustre/lustre/llite/../include/lustre_dlm.h:47,
                    from drivers/staging/lustre/lustre/llite/file.c:40:
   drivers/staging/lustre/lustre/llite/file.c: In function 'll_file_io_generic':
>> drivers/staging/lustre/lustre/llite/../include/lustre/lustre_user.h:78:20: 
>> warning: large integer implicitly truncated to unsigned type [-Woverflow]
    #define LUSTRE_EOF 0xffffffffffffffffULL
                       ^
>> drivers/staging/lustre/lustre/llite/file.c:1072:33: note: in expansion of 
>> macro 'LUSTRE_EOF'
       range_rwlock_init(&range, 0, LUSTRE_EOF);
                                    ^~~~~~~~~~

vim +78 drivers/staging/lustre/lustre/llite/../include/lustre/lustre_user.h

23ec6607e9 John L. Hammond 2016-09-18  62   * are co-existing.
23ec6607e9 John L. Hammond 2016-09-18  63   */
23ec6607e9 John L. Hammond 2016-09-18  64  #if __BITS_PER_LONG != 64 || 
defined(__ARCH_WANT_STAT64)
23ec6607e9 John L. Hammond 2016-09-18  65  typedef struct stat64   lstat_t;
23ec6607e9 John L. Hammond 2016-09-18  66  #define lstat_f  lstat64
f0cf21abcc John L. Hammond 2016-10-02  67  #define fstat_f              fstat64
f0cf21abcc John L. Hammond 2016-10-02  68  #define fstatat_f    fstatat64
23ec6607e9 John L. Hammond 2016-09-18  69  #else
23ec6607e9 John L. Hammond 2016-09-18  70  typedef struct stat     lstat_t;
23ec6607e9 John L. Hammond 2016-09-18  71  #define lstat_f  lstat
f0cf21abcc John L. Hammond 2016-10-02  72  #define fstat_f              fstat
f0cf21abcc John L. Hammond 2016-10-02  73  #define fstatat_f    fstatat
23ec6607e9 John L. Hammond 2016-09-18  74  #endif
23ec6607e9 John L. Hammond 2016-09-18  75  
23ec6607e9 John L. Hammond 2016-09-18  76  #define HAVE_LOV_USER_MDS_DATA
d7e09d0397 Peng Tao        2013-05-02  77  
00c0a6aea0 John L. Hammond 2016-08-16 @78  #define LUSTRE_EOF 
0xffffffffffffffffULL
00c0a6aea0 John L. Hammond 2016-08-16  79  
d7e09d0397 Peng Tao        2013-05-02  80  /* for statfs() */
d7e09d0397 Peng Tao        2013-05-02  81  #define LL_SUPER_MAGIC 0x0BD00BD0
d7e09d0397 Peng Tao        2013-05-02  82  
d7e09d0397 Peng Tao        2013-05-02  83  #ifndef FSFILT_IOC_GETFLAGS
d7e09d0397 Peng Tao        2013-05-02  84  #define FSFILT_IOC_GETFLAGS         
_IOR('f', 1, long)
d7e09d0397 Peng Tao        2013-05-02  85  #define FSFILT_IOC_SETFLAGS         
_IOW('f', 2, long)
d7e09d0397 Peng Tao        2013-05-02  86  #define FSFILT_IOC_GETVERSION        
     _IOR('f', 3, long)

:::::: The code at line 78 was first introduced by commit
:::::: 00c0a6aea0d0ab2c11594616244d787ad7bf64dc staging: lustre: uapi: reduce 
scope of lustre_idl.h

:::::: TO: John L. Hammond <john.hamm...@intel.com>
:::::: CC: Greg Kroah-Hartman <gre...@linuxfoundation.org>

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

Attachment: .config.gz
Description: application/gzip

Reply via email to