From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 43F7017CB for ; Sat, 29 Apr 2023 12:14:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682770450; x=1714306450; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=1TDucoHOWy6n1EiK4krmGMJZ14rPYsyYl5/XoEP9IrI=; b=V/IEaz610aWXfCv099Kbxiivxei+cmjjfS/r4Rj67PKmrUd4X9QKo5+u Seq2GhpuKHi/TnHMvEnhm/qqlJQHxfSrdkIP5SzHU0R9gJhwMnf/orX9v O3xYW1OgdZQIq78aiwsTOE/Yfw5ITBChWKXuSO669n4rUZPXkY7aEHHCk vRkwN0fthLRprizSQg3iRO2CfQ83c+6HYiubPSDqg+B9SzxDdKD+Ql5Xs FrM4IiLa5VV/APWoIthcKVjlWFZdFL4ejuoC1dMK54tc3DHsBw4st+Nfn +8YF1fcSNl9Nk9rq1ybMKHXA+a76WA/fHe7peRD+916zswRBwUsYG72S2 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10695"; a="345391908" X-IronPort-AV: E=Sophos;i="5.99,237,1677571200"; d="scan'208";a="345391908" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2023 05:14:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10695"; a="819368911" X-IronPort-AV: E=Sophos;i="5.99,237,1677571200"; d="scan'208";a="819368911" Received: from lkp-server01.sh.intel.com (HELO 5bad9d2b7fcb) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 29 Apr 2023 05:14:02 -0700 Received: from kbuild by 5bad9d2b7fcb with local (Exim 4.96) (envelope-from ) id 1psjSj-00017h-2K; Sat, 29 Apr 2023 12:14:01 +0000 Date: Sat, 29 Apr 2023 20:13:11 +0800 From: kernel test robot To: Kanchan Joshi Cc: oe-kbuild-all@lists.linux.dev Subject: Re: [RFC PATCH 05/12] nvme: wire-up register/unregister queue f_op callback Message-ID: <202304291929.tFHH75JE-lkp@intel.com> References: <20230429093925.133327-6-joshi.k@samsung.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230429093925.133327-6-joshi.k@samsung.com> Hi Kanchan, [This is a private test report for your RFC patch.] kernel test robot noticed the following build errors: [auto build test ERROR on axboe-block/for-next] [also build test ERROR on linus/master next-20230428] [cannot apply to v6.3] [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/Kanchan-Joshi/pci-enable-raw_queues-N-module-parameter/20230429-183933 base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next patch link: https://lore.kernel.org/r/20230429093925.133327-6-joshi.k%40samsung.com patch subject: [RFC PATCH 05/12] nvme: wire-up register/unregister queue f_op callback config: alpha-randconfig-r032-20230428 (https://download.01.org/0day-ci/archive/20230429/202304291929.tFHH75JE-lkp@intel.com/config) compiler: alpha-linux-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/fb2d573b75b3615d774f841c417790d368b70ccd git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Kanchan-Joshi/pci-enable-raw_queues-N-module-parameter/20230429-183933 git checkout fb2d573b75b3615d774f841c417790d368b70ccd # 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=alpha olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=alpha SHELL=/bin/bash drivers/nvme/host/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304291929.tFHH75JE-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/nvme/host/core.c:4062:5: warning: no previous prototype for 'nvme_register_queue' [-Wmissing-prototypes] 4062 | int nvme_register_queue(struct file *file) | ^~~~~~~~~~~~~~~~~~~ drivers/nvme/host/core.c: In function 'nvme_register_queue': >> drivers/nvme/host/core.c:4069:35: error: 'const struct blk_mq_ops' has no member named 'register_queue' 4069 | if (q->mq_ops && q->mq_ops->register_queue) | ^~ drivers/nvme/host/core.c:4070:33: error: 'const struct blk_mq_ops' has no member named 'register_queue' 4070 | return q->mq_ops->register_queue(ns); | ^~ drivers/nvme/host/core.c: At top level: drivers/nvme/host/core.c:4074:5: warning: no previous prototype for 'nvme_unregister_queue' [-Wmissing-prototypes] 4074 | int nvme_unregister_queue(struct file *file, int qid) | ^~~~~~~~~~~~~~~~~~~~~ drivers/nvme/host/core.c: In function 'nvme_unregister_queue': >> drivers/nvme/host/core.c:4081:35: error: 'const struct blk_mq_ops' has no member named 'unregister_queue' 4081 | if (q->mq_ops && q->mq_ops->unregister_queue) | ^~ drivers/nvme/host/core.c:4082:33: error: 'const struct blk_mq_ops' has no member named 'unregister_queue' 4082 | return q->mq_ops->unregister_queue(ns, qid); | ^~ -- drivers/nvme/host/ioctl.c: In function 'nvme_ns_head_register_queue': >> drivers/nvme/host/ioctl.c:891:35: error: 'const struct blk_mq_ops' has no member named 'register_queue' 891 | if (q->mq_ops && q->mq_ops->register_queue) | ^~ drivers/nvme/host/ioctl.c:892:32: error: 'const struct blk_mq_ops' has no member named 'register_queue' 892 | ret = q->mq_ops->register_queue(ns); | ^~ drivers/nvme/host/ioctl.c: In function 'nvme_ns_head_unregister_queue': >> drivers/nvme/host/ioctl.c:915:35: error: 'const struct blk_mq_ops' has no member named 'unregister_queue' 915 | if (q->mq_ops && q->mq_ops->unregister_queue) | ^~ drivers/nvme/host/ioctl.c:916:32: error: 'const struct blk_mq_ops' has no member named 'unregister_queue' 916 | ret = q->mq_ops->unregister_queue(ns, qid); | ^~ vim +4069 drivers/nvme/host/core.c 4061 > 4062 int nvme_register_queue(struct file *file) 4063 { 4064 struct nvme_ns *ns = container_of(file_inode(file)->i_cdev, 4065 struct nvme_ns, cdev); 4066 struct nvme_ctrl *ctrl = ns->ctrl; 4067 struct request_queue *q = ns ? ns->queue : ctrl->admin_q; 4068 > 4069 if (q->mq_ops && q->mq_ops->register_queue) > 4070 return q->mq_ops->register_queue(ns); 4071 return -EINVAL; 4072 } 4073 4074 int nvme_unregister_queue(struct file *file, int qid) 4075 { 4076 struct nvme_ns *ns = container_of(file_inode(file)->i_cdev, 4077 struct nvme_ns, cdev); 4078 struct nvme_ctrl *ctrl = ns->ctrl; 4079 struct request_queue *q = ns ? ns->queue : ctrl->admin_q; 4080 > 4081 if (q->mq_ops && q->mq_ops->unregister_queue) 4082 return q->mq_ops->unregister_queue(ns, qid); 4083 return -EINVAL; 4084 } 4085 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests