All of lore.kernel.org
 help / color / mirror / Atom feed
* [dhowells-fs:fscache-iter 25/55] include/linux/fscache.h:84:30: sparse: sparse: don't know how to apply mode to unsigned int enum fscache_cookie_stage
@ 2020-09-15  8:46 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-09-15  8:46 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 6280 bytes --]

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 <lkp@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-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 27518 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dhowells-fs:fscache-iter 25/55] include/linux/fscache.h:84:30: sparse: sparse: don't know how to apply mode to unsigned int enum fscache_cookie_stage
@ 2020-09-12  1:45 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-09-12  1:45 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 6354 bytes --]

CC: kbuild-all(a)lists.01.org
TO: David Howells <dhowells@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 <lkp@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-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 27518 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-15  8:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-15  8:46 [dhowells-fs:fscache-iter 25/55] include/linux/fscache.h:84:30: sparse: sparse: don't know how to apply mode to unsigned int enum fscache_cookie_stage kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2020-09-12  1:45 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.