From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7F7ADC6FD1C for ; Wed, 22 Mar 2023 04:39:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=uk4QuqOxBho0sCIkPTnkCL5InUVkQbEOInCMXjk8Awg=; b=oeKW7FTX7VX4uBZCfYSWIIHzZv Tlo/auWWdg/HLBQDt82HsCNS8fWjL2cRL2h+sOZp6YwED7yqJ3SZ5ZMIXxZN9WMBrcmT5Xw90+EpW 5SIF+ckb6SdugwYbxubdGc2vFriphtbRr3LTxZd+fNQ6wavJZHydQwmPMHaFEDk/lLdWqxAt/wEql z4FwZxOKav7m3mKY7Jhw5pKDRwFJ/J8OC1sFDTqEYjnG0w4F2JXAhvcm2qZNf+eQ3/1FmK8+CiHEc YIXIZRurgMNu9yv01WUWK+9GEinUkl05M5ItlwDwyXYBc16HemM+r7v1PBygRPZBbDo4gdWInKO45 3XjrTJhQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1peqG0-00EadB-0m; Wed, 22 Mar 2023 04:39:28 +0000 Received: from mga07.intel.com ([134.134.136.100]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1peqFw-00EacK-2t for linux-nvme@lists.infradead.org; Wed, 22 Mar 2023 04:39:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679459964; x=1710995964; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=EUtBxfQNkr4Y9oF+6OQUVDoIGsoEayRjCUVAXz8EPbk=; b=HvIjSa8X9eROmXghCNSEstUztpWgGNhgp+jQAvtz4OTzZTjutPQ4DUWt xc0oLg2eXOga1k+JMeHPaW5MBCXB8WlW6tplespVYu1Fi/fsH3PHnMXEL VpO0USAf1Ol2XFcW+y2TQUZf+NhgnCljk+9+WzM+3Fl5UpYzT4NDCou8M 4ZPZ0RTDqkShKGLcJEuwOpGFDCOlyp/n48/K68Mow7uNpqVFbgsDeJkxj MDX8LZvJluyPp1FfuN3VGtyyLlHqEGWLpjRpOJ+yb1gvm9N+Ra9tMc1jp 94IVGPQKKq0O8uMQOpIFLhEIPy8dpDul1y04jlvjsRZhY+GM5fYgyX8u4 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10656"; a="404009692" X-IronPort-AV: E=Sophos;i="5.98,280,1673942400"; d="scan'208";a="404009692" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2023 21:39:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10656"; a="714280809" X-IronPort-AV: E=Sophos;i="5.98,280,1673942400"; d="scan'208";a="714280809" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 21 Mar 2023 21:39:17 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1peqFo-000Csc-2X; Wed, 22 Mar 2023 04:39:16 +0000 Date: Wed, 22 Mar 2023 12:38:29 +0800 From: kernel test robot To: Keith Busch , linux-block@vger.kernel.org, axboe@kernel.dk, linux-nvme@lists.infradead.org, hch@lst.de, sagi@grimberg.me Cc: oe-kbuild-all@lists.linux.dev, Keith Busch Subject: Re: [PATCH 1/3] nvme-fabrics: add queue setup helpers Message-ID: <202303221244.KMWQNHnu-lkp@intel.com> References: <20230322002350.4038048-2-kbusch@meta.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230322002350.4038048-2-kbusch@meta.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230321_213924_977867_152F0161 X-CRM114-Status: GOOD ( 15.17 ) X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org Hi Keith, I love your patch! Perhaps something to improve: [auto build test WARNING on axboe-block/for-next] [also build test WARNING on linus/master v6.3-rc3 next-20230322] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Keith-Busch/nvme-fabrics-add-queue-setup-helpers/20230322-082537 base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next patch link: https://lore.kernel.org/r/20230322002350.4038048-2-kbusch%40meta.com patch subject: [PATCH 1/3] nvme-fabrics: add queue setup helpers config: arm-randconfig-r046-20230321 (https://download.01.org/0day-ci/archive/20230322/202303221244.KMWQNHnu-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 12.1.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://github.com/intel-lab-lkp/linux/commit/0acb3964621b925db18ebec1a6c57bc3c3446859 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Keith-Busch/nvme-fabrics-add-queue-setup-helpers/20230322-082537 git checkout 0acb3964621b925db18ebec1a6c57bc3c3446859 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/nvme/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202303221244.KMWQNHnu-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/nvme/host/core.c:26: >> drivers/nvme/host/fabrics.h:222:29: warning: 'struct ib_device' declared inside parameter list will not be visible outside of this definition or declaration 222 | struct ib_device *dev, u32 io_queues[HCTX_MAX_TYPES]); | ^~~~~~~~~ -- In file included from drivers/nvme/host/core.c:26: >> drivers/nvme/host/fabrics.h:222:29: warning: 'struct ib_device' declared inside parameter list will not be visible outside of this definition or declaration 222 | struct ib_device *dev, u32 io_queues[HCTX_MAX_TYPES]); | ^~~~~~~~~ In file included from drivers/nvme/host/trace.h:175, from drivers/nvme/host/core.c:30: include/trace/define_trace.h:95:42: fatal error: ./trace.h: No such file or directory 95 | #include TRACE_INCLUDE(TRACE_INCLUDE_FILE) | ^ compilation terminated. vim +222 drivers/nvme/host/fabrics.h 205 206 int nvmf_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val); 207 int nvmf_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val); 208 int nvmf_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val); 209 int nvmf_connect_admin_queue(struct nvme_ctrl *ctrl); 210 int nvmf_connect_io_queue(struct nvme_ctrl *ctrl, u16 qid); 211 int nvmf_register_transport(struct nvmf_transport_ops *ops); 212 void nvmf_unregister_transport(struct nvmf_transport_ops *ops); 213 void nvmf_free_options(struct nvmf_ctrl_options *opts); 214 int nvmf_get_address(struct nvme_ctrl *ctrl, char *buf, int size); 215 bool nvmf_should_reconnect(struct nvme_ctrl *ctrl); 216 bool nvmf_ip_options_match(struct nvme_ctrl *ctrl, 217 struct nvmf_ctrl_options *opts); 218 void nvme_set_io_queues(struct nvmf_ctrl_options *opts, u32 nr_io_queues, 219 u32 io_queues[HCTX_MAX_TYPES]); 220 unsigned int nvme_nr_io_queues(struct nvmf_ctrl_options *opts); 221 void nvme_map_queues(struct blk_mq_tag_set *set, struct nvme_ctrl *ctrl, > 222 struct ib_device *dev, u32 io_queues[HCTX_MAX_TYPES]); 223 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests