All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [dhowells-fs:fscache-iter 22/62] include/linux/fscache.h:80:30: sparse: sparse: don't know how to apply mode to unsigned int enum fscache_cookie_stage
Date: Tue, 09 Jun 2020 23:15:03 +0800	[thread overview]
Message-ID: <20200609151503.GY23011@xsang-OptiPlex-9020> (raw)

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

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

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

             reply	other threads:[~2020-06-09 15:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-09 15:15 kbuild test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-06-02  6:40 [dhowells-fs:fscache-iter 22/62] include/linux/fscache.h:80:30: sparse: sparse: don't know how to apply mode to unsigned int enum fscache_cookie_stage kbuild test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200609151503.GY23011@xsang-OptiPlex-9020 \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.