All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RFC PATCH v6 04/27] nvme-tcp-offload: Add device scan implementation
Date: Fri, 28 May 2021 12:08:26 +0800	[thread overview]
Message-ID: <202105281241.vx2B9Con-lkp@intel.com> (raw)
In-Reply-To: <20210527235902.2185-5-smalin@marvell.com>

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

Hi Shai,

[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on linus/master]
[also build test WARNING on v5.13-rc3 next-20210527]
[cannot apply to ipvs/master sparc-next/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Shai-Malin/NVMeTCP-Offload-ULP-and-QEDN-Device-Driver/20210528-080853
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 97e5bf604b7a0d6e1b3e00fe31d5fd4b9bffeaae
config: x86_64-randconfig-a013-20210526 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 6505c630407c5feec818f0bb1c284f9eeebf2071)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/e0686b51cd419d2cb3fe66deea80199b2238d41b
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Shai-Malin/NVMeTCP-Offload-ULP-and-QEDN-Device-Driver/20210528-080853
        git checkout e0686b51cd419d2cb3fe66deea80199b2238d41b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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/nvme/host/tcp-offload.c:79:5: warning: no previous prototype for function 'nvme_tcp_ofld_report_queue_err' [-Wmissing-prototypes]
   int nvme_tcp_ofld_report_queue_err(struct nvme_tcp_ofld_queue *queue)
       ^
   drivers/nvme/host/tcp-offload.c:79:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int nvme_tcp_ofld_report_queue_err(struct nvme_tcp_ofld_queue *queue)
   ^
   static 
   drivers/nvme/host/tcp-offload.c:97:6: warning: no previous prototype for function 'nvme_tcp_ofld_req_done' [-Wmissing-prototypes]
   void nvme_tcp_ofld_req_done(struct nvme_tcp_ofld_req *req,
        ^
   drivers/nvme/host/tcp-offload.c:97:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void nvme_tcp_ofld_req_done(struct nvme_tcp_ofld_req *req,
   ^
   static 
>> drivers/nvme/host/tcp-offload.c:105:1: warning: no previous prototype for function 'nvme_tcp_ofld_lookup_dev' [-Wmissing-prototypes]
   nvme_tcp_ofld_lookup_dev(struct nvme_tcp_ofld_ctrl *ctrl)
   ^
   drivers/nvme/host/tcp-offload.c:104:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   struct nvme_tcp_ofld_dev *
   ^
   static 
   drivers/nvme/host/tcp-offload.c:16:42: warning: unused function 'to_tcp_ofld_ctrl' [-Wunused-function]
   static inline struct nvme_tcp_ofld_ctrl *to_tcp_ofld_ctrl(struct nvme_ctrl *nctrl)
                                            ^
   4 warnings generated.


vim +/nvme_tcp_ofld_lookup_dev +105 drivers/nvme/host/tcp-offload.c

    85	
    86	/**
    87	 * nvme_tcp_ofld_req_done() - NVMeTCP Offload request done callback
    88	 * function. Pointed to by nvme_tcp_ofld_req->done.
    89	 * Handles both NVME_TCP_F_DATA_SUCCESS flag and NVMe CQ.
    90	 * @req:	NVMeTCP offload request to complete.
    91	 * @result:     The nvme_result.
    92	 * @status:     The completion status.
    93	 *
    94	 * API function that allows the vendor specific offload driver to report request
    95	 * completions to the common offload layer.
    96	 */
  > 97	void nvme_tcp_ofld_req_done(struct nvme_tcp_ofld_req *req,
    98				    union nvme_result *result,
    99				    __le16 status)
   100	{
   101		/* Placeholder - complete request with/without error */
   102	}
   103	
   104	struct nvme_tcp_ofld_dev *
 > 105	nvme_tcp_ofld_lookup_dev(struct nvme_tcp_ofld_ctrl *ctrl)
   106	{
   107		struct nvme_tcp_ofld_dev *dev;
   108	
   109		mutex_lock(&nvme_tcp_ofld_devices_mutex);
   110		list_for_each_entry(dev, &nvme_tcp_ofld_devices, entry) {
   111			if (dev->ops->claim_dev(dev, &ctrl->conn_params))
   112				goto out;
   113		}
   114	
   115		dev = NULL;
   116	out:
   117		mutex_unlock(&nvme_tcp_ofld_devices_mutex);
   118	
   119		return dev;
   120	}
   121	

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

  parent reply	other threads:[~2021-05-28  4:08 UTC|newest]

Thread overview: 104+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-27 23:58 [RFC PATCH v6 00/27] NVMeTCP Offload ULP and QEDN Device Driver Shai Malin
2021-05-27 23:58 ` Shai Malin
2021-05-27 23:58 ` [RFC PATCH v6 01/27] nvme-tcp-offload: Add nvme-tcp-offload - NVMeTCP HW offload ULP Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-28  2:30   ` kernel test robot
2021-05-28  3:30   ` kernel test robot
2021-05-28  4:30   ` kernel test robot
2021-05-27 23:58 ` [RFC PATCH v6 02/27] nvme-fabrics: Move NVMF_ALLOWED_OPTS and NVMF_REQUIRED_OPTS definitions Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-28 10:18   ` Hannes Reinecke
2021-05-28 10:18     ` Hannes Reinecke
2021-05-27 23:58 ` [RFC PATCH v6 03/27] nvme-fabrics: Expose nvmf_check_required_opts() globally Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-28 10:18   ` Hannes Reinecke
2021-05-28 10:18     ` Hannes Reinecke
2021-05-27 23:58 ` [RFC PATCH v6 04/27] nvme-tcp-offload: Add device scan implementation Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-28  2:52   ` kernel test robot
2021-05-28  4:08   ` kernel test robot [this message]
2021-05-28 10:28   ` Hannes Reinecke
2021-05-28 10:28     ` Hannes Reinecke
2021-05-27 23:58 ` [RFC PATCH v6 05/27] nvme-tcp-offload: Add controller level implementation Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-28  4:36   ` kernel test robot
2021-05-28  5:17   ` kernel test robot
2021-05-28 11:21   ` Hannes Reinecke
2021-05-28 11:21     ` Hannes Reinecke
2021-05-31 14:02     ` Shai Malin
2021-05-31 14:02       ` Shai Malin
2021-05-27 23:58 ` [RFC PATCH v6 06/27] nvme-tcp-offload: Add controller level error recovery implementation Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-28  6:31   ` kernel test robot
2021-05-27 23:58 ` [RFC PATCH v6 07/27] nvme-tcp-offload: Add queue level implementation Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-28 11:29   ` Hannes Reinecke
2021-05-28 11:29     ` Hannes Reinecke
2021-05-31 14:04     ` Shai Malin
2021-05-31 14:04       ` Shai Malin
2021-05-27 23:58 ` [RFC PATCH v6 08/27] nvme-tcp-offload: Add IO " Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-28  3:30   ` kernel test robot
2021-05-28  4:55   ` kernel test robot
2021-05-27 23:58 ` [RFC PATCH v6 09/27] qed: Add TCP_ULP FW resource layout Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-28 11:31   ` Hannes Reinecke
2021-05-28 11:31     ` Hannes Reinecke
2021-05-27 23:58 ` [RFC PATCH v6 10/27] qed: Add NVMeTCP Offload PF Level FW and HW HSI Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-28 12:01   ` Hannes Reinecke
2021-05-28 12:01     ` Hannes Reinecke
2021-05-27 23:58 ` [RFC PATCH v6 11/27] qed: Add NVMeTCP Offload Connection " Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-28 12:41   ` Hannes Reinecke
2021-05-28 12:41     ` Hannes Reinecke
2021-05-27 23:58 ` [RFC PATCH v6 12/27] qed: Add support of HW filter block Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-28  4:34   ` kernel test robot
2021-05-28  4:34   ` [RFC PATCH] qed: qed_abs_ppfid() can be static kernel test robot
2021-05-27 23:58 ` [RFC PATCH v6 13/27] qed: Add NVMeTCP Offload IO Level FW and HW HSI Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-28 12:41   ` Hannes Reinecke
2021-05-28 12:41     ` Hannes Reinecke
2021-05-27 23:58 ` [RFC PATCH v6 14/27] qed: Add NVMeTCP Offload IO Level FW Initializations Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-28 12:43   ` Hannes Reinecke
2021-05-28 12:43     ` Hannes Reinecke
2021-05-27 23:58 ` [RFC PATCH v6 15/27] qed: Add IP services APIs support Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-27 23:58 ` [RFC PATCH v6 16/27] qedn: Add qedn - Marvell's NVMeTCP HW offload vendor driver Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-27 23:58 ` [RFC PATCH v6 17/27] qedn: Add qedn probe Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-27 23:58 ` [RFC PATCH v6 18/27] qedn: Add qedn_claim_dev API support Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-27 23:58 ` [RFC PATCH v6 19/27] qedn: Add IRQ and fast-path resources initializations Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-28 12:46   ` Hannes Reinecke
2021-05-28 12:46     ` Hannes Reinecke
2021-05-27 23:58 ` [RFC PATCH v6 20/27] qedn: Add connection-level slowpath functionality Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-27 23:58 ` [RFC PATCH v6 21/27] qedn: Add support of configuring HW filter block Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-27 23:58 ` [RFC PATCH v6 22/27] qedn: Add IO level qedn_send_req and fw_cq workqueue Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-28 12:57   ` Hannes Reinecke
2021-05-28 12:57     ` Hannes Reinecke
2021-05-31 14:12     ` Shai Malin
2021-05-31 14:12       ` Shai Malin
2021-05-27 23:58 ` [RFC PATCH v6 23/27] qedn: Add support of Task and SGL Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-28 13:06   ` Hannes Reinecke
2021-05-28 13:06     ` Hannes Reinecke
2021-05-31 14:14     ` Shai Malin
2021-05-31 14:14       ` Shai Malin
2021-05-27 23:58 ` [RFC PATCH v6 24/27] qedn: Add support of NVME ICReq & ICResp Shai Malin
2021-05-27 23:58   ` Shai Malin
2021-05-28 13:07   ` Hannes Reinecke
2021-05-28 13:07     ` Hannes Reinecke
2021-05-27 23:59 ` [RFC PATCH v6 25/27] qedn: Add IO level fastpath functionality Shai Malin
2021-05-27 23:59   ` Shai Malin
2021-05-27 23:59 ` [RFC PATCH v6 26/27] qedn: Add Connection and IO level recovery flows Shai Malin
2021-05-27 23:59   ` Shai Malin
2021-05-27 23:59 ` [RFC PATCH v6 27/27] qedn: Add support of ASYNC Shai Malin
2021-05-27 23:59   ` Shai Malin

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=202105281241.vx2B9Con-lkp@intel.com \
    --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.