All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Dan Williams <dan.j.williams@intel.com>
Cc: kbuild-all@lists.01.org,
	Alison Schofield <alison.schofield@intel.com>,
	Vishal Verma <vishal.l.verma@intel.com>,
	Ira Weiny <ira.weiny@intel.com>,
	Ben Widawsky <ben.widawsky@intel.com>,
	Dan Williams <dan.j.williams@intel.com>,
	linux-kernel@vger.kernel.org,
	Jonathan Cameron <Jonathan.Cameron@huawei.com>
Subject: [cxl-cxl:pending 20/38] drivers/nvdimm/label.c:749:25: warning: no previous prototype for 'uuid_to_nvdimm_cclass'
Date: Sat, 14 Aug 2021 12:15:36 +0800	[thread overview]
Message-ID: <202108141232.1m26SpRM-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git pending
head:   fa809cc6feedcd2575b63def7135dfaf066266bb
commit: ed37942d3f53ae55c077704f6a8e6306d96169f6 [20/38] libnvdimm/labels: Add address-abstraction uuid definitions
config: parisc-randconfig-r016-20210814 (attached as .config)
compiler: hppa64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git/commit/?id=ed37942d3f53ae55c077704f6a8e6306d96169f6
        git remote add cxl-cxl https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git
        git fetch --no-tags cxl-cxl pending
        git checkout ed37942d3f53ae55c077704f6a8e6306d96169f6
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=parisc 

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

All warnings (new ones prefixed by >>):

>> drivers/nvdimm/label.c:749:25: warning: no previous prototype for 'uuid_to_nvdimm_cclass' [-Wmissing-prototypes]
     749 | enum nvdimm_claim_class uuid_to_nvdimm_cclass(uuid_t *uuid)
         |                         ^~~~~~~~~~~~~~~~~~~~~


vim +/uuid_to_nvdimm_cclass +749 drivers/nvdimm/label.c

   747	
   748	/* CXL labels store UUIDs instead of GUIDs for the same data */
 > 749	enum nvdimm_claim_class uuid_to_nvdimm_cclass(uuid_t *uuid)
   750	{
   751		if (uuid_equal(uuid, &nvdimm_btt_uuid))
   752			return NVDIMM_CCLASS_BTT;
   753		else if (uuid_equal(uuid, &nvdimm_btt2_uuid))
   754			return NVDIMM_CCLASS_BTT2;
   755		else if (uuid_equal(uuid, &nvdimm_pfn_uuid))
   756			return NVDIMM_CCLASS_PFN;
   757		else if (uuid_equal(uuid, &nvdimm_dax_uuid))
   758			return NVDIMM_CCLASS_DAX;
   759		else if (uuid_equal(uuid, &uuid_null))
   760			return NVDIMM_CCLASS_NONE;
   761	
   762		return NVDIMM_CCLASS_UNKNOWN;
   763	}
   764	

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

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [cxl-cxl:pending 20/38] drivers/nvdimm/label.c:749:25: warning: no previous prototype for 'uuid_to_nvdimm_cclass'
Date: Sat, 14 Aug 2021 12:15:36 +0800	[thread overview]
Message-ID: <202108141232.1m26SpRM-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git pending
head:   fa809cc6feedcd2575b63def7135dfaf066266bb
commit: ed37942d3f53ae55c077704f6a8e6306d96169f6 [20/38] libnvdimm/labels: Add address-abstraction uuid definitions
config: parisc-randconfig-r016-20210814 (attached as .config)
compiler: hppa64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git/commit/?id=ed37942d3f53ae55c077704f6a8e6306d96169f6
        git remote add cxl-cxl https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git
        git fetch --no-tags cxl-cxl pending
        git checkout ed37942d3f53ae55c077704f6a8e6306d96169f6
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=parisc 

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

All warnings (new ones prefixed by >>):

>> drivers/nvdimm/label.c:749:25: warning: no previous prototype for 'uuid_to_nvdimm_cclass' [-Wmissing-prototypes]
     749 | enum nvdimm_claim_class uuid_to_nvdimm_cclass(uuid_t *uuid)
         |                         ^~~~~~~~~~~~~~~~~~~~~


vim +/uuid_to_nvdimm_cclass +749 drivers/nvdimm/label.c

   747	
   748	/* CXL labels store UUIDs instead of GUIDs for the same data */
 > 749	enum nvdimm_claim_class uuid_to_nvdimm_cclass(uuid_t *uuid)
   750	{
   751		if (uuid_equal(uuid, &nvdimm_btt_uuid))
   752			return NVDIMM_CCLASS_BTT;
   753		else if (uuid_equal(uuid, &nvdimm_btt2_uuid))
   754			return NVDIMM_CCLASS_BTT2;
   755		else if (uuid_equal(uuid, &nvdimm_pfn_uuid))
   756			return NVDIMM_CCLASS_PFN;
   757		else if (uuid_equal(uuid, &nvdimm_dax_uuid))
   758			return NVDIMM_CCLASS_DAX;
   759		else if (uuid_equal(uuid, &uuid_null))
   760			return NVDIMM_CCLASS_NONE;
   761	
   762		return NVDIMM_CCLASS_UNKNOWN;
   763	}
   764	

---
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: 25588 bytes --]

             reply	other threads:[~2021-08-14  4:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-14  4:15 kernel test robot [this message]
2021-08-14  4:15 ` [cxl-cxl:pending 20/38] drivers/nvdimm/label.c:749:25: warning: no previous prototype for 'uuid_to_nvdimm_cclass' kernel 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=202108141232.1m26SpRM-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=alison.schofield@intel.com \
    --cc=ben.widawsky@intel.com \
    --cc=dan.j.williams@intel.com \
    --cc=ira.weiny@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vishal.l.verma@intel.com \
    /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.