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:   b4a9eadc021941103fd0c925e7e7b38516ffaf39
commit: 5db57596b0d3e5e78f7202dd50a58cc154f66b7c [22/62] fscache: Replace the 
object management state machine
:::::: branch date: 6 days ago
:::::: commit date: 6 days ago
config: x86_64-randconfig-s022-20200602 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-243-gc100a7ab-dirty
        git checkout 5db57596b0d3e5e78f7202dd50a58cc154f66b7c
        # save the attached .config to linux build tree
        make W=1 C=1 ARCH=x86_64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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


sparse warnings: (new ones prefixed by >>)

>> include/linux/fscache.h:80: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=5db57596b0d3e5e78f7202dd50a58cc154f66b7c
git remote add dhowells-fs 
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
git remote update dhowells-fs
git checkout 5db57596b0d3e5e78f7202dd50a58cc154f66b7c
vim +80 include/linux/fscache.h

2d6fff63703739 David Howells 2009-04-03  68  
5db57596b0d3e5 David Howells 2020-02-06  69  /*
5db57596b0d3e5 David Howells 2020-02-06  70   * Data object state.
5db57596b0d3e5 David Howells 2020-02-06  71   */
5db57596b0d3e5 David Howells 2020-02-06  72  enum fscache_cookie_stage {
5db57596b0d3e5 David Howells 2020-02-06  73     FSCACHE_COOKIE_STAGE_QUIESCENT, 
        /* The cookie is uncached */
5db57596b0d3e5 David Howells 2020-02-06  74     
FSCACHE_COOKIE_STAGE_INITIALISING,      /* The in-memory structs are being 
inited */
5db57596b0d3e5 David Howells 2020-02-06  75     
FSCACHE_COOKIE_STAGE_LOOKING_UP,        /* The cache object is being looked up 
*/
5db57596b0d3e5 David Howells 2020-02-06  76     
FSCACHE_COOKIE_STAGE_NO_DATA_YET,       /* The cache has no data, read to 
network */
5db57596b0d3e5 David Howells 2020-02-06  77     FSCACHE_COOKIE_STAGE_ACTIVE,    
        /* The cache is active, readable and writable */
5db57596b0d3e5 David Howells 2020-02-06  78     
FSCACHE_COOKIE_STAGE_INVALIDATING,      /* The cache is being invalidated */
5db57596b0d3e5 David Howells 2020-02-06  79     FSCACHE_COOKIE_STAGE_DEAD,      
        /* The cache object is dead */
5db57596b0d3e5 David Howells 2020-02-06 @80  } __attribute__((mode(byte)));
5db57596b0d3e5 David Howells 2020-02-06  81  

---
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