CC: kbuild-...@lists.01.org
TO: David Howells <dhowe...@redhat.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git 
fscache-iter
head:   f6ac6a6db767d26c3330f0cecadd4f331ee6d291
commit: 1a31bac9fae197781cf11fea38e3b352c7945362 [25/55] fscache: Replace the 
object management state machine
:::::: branch date: 28 hours ago
:::::: commit date: 35 hours ago
config: i386-randconfig-s001-20200909 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.2-191-g10164920-dirty
        git checkout 1a31bac9fae197781cf11fea38e3b352c7945362
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <l...@intel.com>


sparse warnings: (new ones prefixed by >>)

   fs/nfs/client.c: note: in included file (through fs/nfs/fscache.h):
>> include/linux/fscache.h:84:30: sparse: sparse: don't know how to apply mode 
>> to unsigned int enum fscache_cookie_stage
--
   fs/nfs/dir.c: note: in included file (through fs/nfs/fscache.h):
>> include/linux/fscache.h:84:30: sparse: sparse: don't know how to apply mode 
>> to unsigned int enum fscache_cookie_stage
--
   fs/nfs/file.c: note: in included file (through fs/nfs/fscache.h):
>> include/linux/fscache.h:84:30: sparse: sparse: don't know how to apply mode 
>> to unsigned int enum fscache_cookie_stage
--
   fs/nfs/inode.c: note: in included file (through fs/nfs/fscache.h):
>> include/linux/fscache.h:84:30: sparse: sparse: don't know how to apply mode 
>> to unsigned int enum fscache_cookie_stage
--
   fs/nfs/super.c: note: in included file (through fs/nfs/fscache.h):
>> include/linux/fscache.h:84:30: sparse: sparse: don't know how to apply mode 
>> to unsigned int enum fscache_cookie_stage
--
   fs/nfs/read.c: note: in included file (through fs/nfs/fscache.h):
>> include/linux/fscache.h:84:30: sparse: sparse: don't know how to apply mode 
>> to unsigned int enum fscache_cookie_stage
--
   fs/nfs/write.c: note: in included file (through fs/nfs/fscache.h):
>> include/linux/fscache.h:84:30: sparse: sparse: don't know how to apply mode 
>> to unsigned int enum fscache_cookie_stage
--
   fs/nfs/nfs4proc.c: note: in included file (through fs/nfs/fscache.h):
>> include/linux/fscache.h:84:30: sparse: sparse: don't know how to apply mode 
>> to unsigned int enum fscache_cookie_stage
--
   fs/nfs/nfs4file.c: note: in included file (through fs/nfs/fscache.h):
>> include/linux/fscache.h:84:30: sparse: sparse: don't know how to apply mode 
>> to unsigned int enum fscache_cookie_stage
--
   fs/cifs/cifsfs.c: note: in included file (through fs/cifs/fscache.h):
>> include/linux/fscache.h:84:30: sparse: sparse: don't know how to apply mode 
>> to unsigned int enum fscache_cookie_stage
--
   fs/cifs/cifssmb.c: note: in included file (through fs/cifs/fscache.h):
>> include/linux/fscache.h:84:30: sparse: sparse: don't know how to apply mode 
>> to unsigned int enum fscache_cookie_stage
--
   fs/cifs/connect.c: note: in included file (through fs/cifs/fscache.h):
>> include/linux/fscache.h:84:30: sparse: sparse: don't know how to apply mode 
>> to unsigned int enum fscache_cookie_stage
--
   fs/cifs/file.c: note: in included file (through fs/cifs/fscache.h):
>> include/linux/fscache.h:84:30: sparse: sparse: don't know how to apply mode 
>> to unsigned int enum fscache_cookie_stage
--
   fs/cifs/inode.c: note: in included file (through fs/cifs/fscache.h):
>> include/linux/fscache.h:84:30: sparse: sparse: don't know how to apply mode 
>> to unsigned int enum fscache_cookie_stage
--
   fs/cifs/smb2inode.c: note: in included file (through fs/cifs/fscache.h):
>> include/linux/fscache.h:84:30: sparse: sparse: don't know how to apply mode 
>> to unsigned int enum fscache_cookie_stage
--
   fs/cifs/smb2file.c: note: in included file (through fs/cifs/fscache.h):
>> include/linux/fscache.h:84:30: sparse: sparse: don't know how to apply mode 
>> to unsigned int enum fscache_cookie_stage

# 
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/commit/?id=1a31bac9fae197781cf11fea38e3b352c7945362
git remote add dhowells-fs 
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
git fetch --no-tags dhowells-fs fscache-iter
git checkout 1a31bac9fae197781cf11fea38e3b352c7945362
vim +84 include/linux/fscache.h

2d6fff637037395 David Howells 2009-04-03  68  
1a31bac9fae1977 David Howells 2020-02-06  69  /*
1a31bac9fae1977 David Howells 2020-02-06  70   * Data object state.
1a31bac9fae1977 David Howells 2020-02-06  71   */
1a31bac9fae1977 David Howells 2020-02-06  72  enum fscache_cookie_stage {
1a31bac9fae1977 David Howells 2020-02-06  73    FSCACHE_COOKIE_STAGE_INDEX,     
        /* The cookie is an index cookie */
1a31bac9fae1977 David Howells 2020-02-06  74    FSCACHE_COOKIE_STAGE_QUIESCENT, 
        /* The cookie is uncached */
1a31bac9fae1977 David Howells 2020-02-06  75    
FSCACHE_COOKIE_STAGE_INITIALISING,      /* The in-memory structs are being 
inited */
1a31bac9fae1977 David Howells 2020-02-06  76    
FSCACHE_COOKIE_STAGE_LOOKING_UP,        /* The cache object is being looked up 
*/
1a31bac9fae1977 David Howells 2020-02-06  77    
FSCACHE_COOKIE_STAGE_NO_DATA_YET,       /* The cache has no data, read to 
network */
1a31bac9fae1977 David Howells 2020-02-06  78    FSCACHE_COOKIE_STAGE_ACTIVE,    
        /* The cache is active, readable and writable */
1a31bac9fae1977 David Howells 2020-02-06  79    
FSCACHE_COOKIE_STAGE_INVALIDATING,      /* The cache is being invalidated */
1a31bac9fae1977 David Howells 2020-02-06  80    FSCACHE_COOKIE_STAGE_FAILED,    
        /* The cache failed, withdraw to clear */
1a31bac9fae1977 David Howells 2020-02-06  81    
FSCACHE_COOKIE_STAGE_WITHDRAWING,       /* The cache is being withdrawn */
1a31bac9fae1977 David Howells 2020-02-06  82    
FSCACHE_COOKIE_STAGE_RELINQUISHING,     /* The cookie is being relinquished */
1a31bac9fae1977 David Howells 2020-02-06  83    FSCACHE_COOKIE_STAGE_DROPPED,   
        /* The cookie has been dropped */
1a31bac9fae1977 David Howells 2020-02-06 @84  } __attribute__((mode(byte)));
1a31bac9fae1977 David Howells 2020-02-06  85  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-le...@lists.01.org

Reply via email to