CC: [email protected]
In-Reply-To: <[email protected]>
References: <[email protected]>
TO: "J. Bruce Fields" <[email protected]>
TO: Chuck Lever <[email protected]>
CC: [email protected]
CC: "J. Bruce Fields" <[email protected]>

Hi Bruce,

I love your patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on nfsd/nfsd-next v5.12-rc8 next-20210416]
[cannot apply to cel/for-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    
https://github.com/0day-ci/linux/commits/J-Bruce-Fields/nfsd-ensure-new-clients-break-delegations/20210417-020217
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
151501160401e2dc669ea7dac2c599b53f220c33
:::::: branch date: 3 days ago
:::::: commit date: 3 days ago
config: ia64-randconfig-s031-20210419 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce:
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-330-g09ec74f6-dirty
        # 
https://github.com/0day-ci/linux/commit/c988dd4d08fdbff8c957f1cb0dcc44247c618af3
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review 
J-Bruce-Fields/nfsd-ensure-new-clients-break-delegations/20210417-020217
        git checkout c988dd4d08fdbff8c957f1cb0dcc44247c618af3
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 
CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=ia64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>


sparse warnings: (new ones prefixed by >>)
   fs/nfsd/nfs4state.c: note: in included file (through include/linux/dcache.h, 
include/linux/fs.h):
   include/linux/rculist.h:515:9: sparse: sparse: context imbalance in 
'put_nfs4_file' - unexpected unlock
   fs/nfsd/nfs4state.c: note: in included file (through 
include/linux/stringhash.h, include/linux/dcache.h, include/linux/fs.h):
>> include/linux/hash.h:81:45: sparse: sparse: shift too big (4294967104) for 
>> type unsigned long long
   fs/nfsd/nfs4state.c: note: in included file (through include/linux/wait.h, 
include/linux/wait_bit.h, include/linux/fs.h):
   include/linux/list.h:135:19: sparse: sparse: context imbalance in 
'put_clnt_odstate' - unexpected unlock
   fs/nfsd/nfs4state.c:977:9: sparse: sparse: context imbalance in 
'nfs4_put_stid' - unexpected unlock

vim +81 include/linux/hash.h

ef703f49a6c5b90 George Spelvin 2016-05-26  73  
468a9428521e7d0 George Spelvin 2016-05-26  74  #ifndef HAVE_ARCH_HASH_64
468a9428521e7d0 George Spelvin 2016-05-26  75  #define hash_64 hash_64_generic
468a9428521e7d0 George Spelvin 2016-05-26  76  #endif
468a9428521e7d0 George Spelvin 2016-05-26  77  static __always_inline u32 
hash_64_generic(u64 val, unsigned int bits)
ef703f49a6c5b90 George Spelvin 2016-05-26  78  {
ef703f49a6c5b90 George Spelvin 2016-05-26  79  #if BITS_PER_LONG == 64
ef703f49a6c5b90 George Spelvin 2016-05-26  80   /* 64x64-bit multiply is 
efficient on all 64-bit processors */
ef703f49a6c5b90 George Spelvin 2016-05-26 @81   return val * GOLDEN_RATIO_64 >> 
(64 - bits);
ef703f49a6c5b90 George Spelvin 2016-05-26  82  #else
ef703f49a6c5b90 George Spelvin 2016-05-26  83   /* Hash 64 bits using only 
32x32-bit multiply. */
ef703f49a6c5b90 George Spelvin 2016-05-26  84   return hash_32((u32)val ^ 
__hash_32(val >> 32), bits);
ef703f49a6c5b90 George Spelvin 2016-05-26  85  #endif
^1da177e4c3f415 Linus Torvalds 2005-04-16  86  }
^1da177e4c3f415 Linus Torvalds 2005-04-16  87  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to