Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1143072rdb; Wed, 6 Dec 2023 09:39:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IFeBKg4/fVZtgD9xx15P+nIgg0/2tNnQeRbaSd9XOitVve71DdPw1sLUCcjvU8FLEokmdzH X-Received: by 2002:a05:6a00:80a:b0:6ce:7987:75fe with SMTP id m10-20020a056a00080a00b006ce798775femr1151249pfk.11.1701884386109; Wed, 06 Dec 2023 09:39:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701884386; cv=none; d=google.com; s=arc-20160816; b=tXQotFNTyWYhod5SB+8RaU/8HOfiElnvneIma4i0bNB60LmvP1Tc9pOJd7Im9riOw7 tQckJkZFqRpn7b0vUYOu0xyfn12VyOPKfgVkNJ8tngSuRlgwHrDs/Lji6YB8x+hPx3io BDVQmzNvSYI5zn+WPlK8Ni1Mp1YrXUH/dtkTffbIipxCtwrPjHgC3x3myAAQIDksGA85 TKPCsyGTq1n/m1NH8P8IMZm3G/d4wyR7nGi5EKWrBJ9WyX+k2XLzMRwmwFr4cjmMRX1l LXBhp6mVIRkPp57/W9T/97an2LkBLSD+ooF6xF07zg8q5FEhELXYqxqd7ZCcRTybhggk Pb1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/i5j0JIKU/WeSetkq6A/Up5UoGhxAwBlxfJmWWWn++o=; fh=cpWIzDRPHp6hJNNIAKp3Uz4ZsyR1bzLFyeyoFeDDMCQ=; b=Mkd0gzUlv7NgXB5EjC8XHvWZWl/XGZFhuGk5LqhtlNPrfGDQITExA39hAMIzNpFEe2 diMj3ekSs+5bwwwbmEs7lK07320rRuTvhtEu2E+Koo73RuAO0ukMhYL6BOwZT+tZl/Td pTQX41bYC/WIeGafmbFhsICO96Hh9pdG8Rwe2/kvpT8euAEK30Bi6GFoUAPqDxb0GQ+b xgNe9AY9vD6jIdu+ffPGkm1d/1oZ1C6827bbdeNF28ZlkBoopw6/nWn3n2SDGLtda++u V+TKw9e6XaZtoLmUOOK2rve1p+QDZu+Pxc4yH5l7O2ijsYr9KJa7CNmRE7qsI/GF9Vq/ TpXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="FAM9/2AG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id w20-20020a056a0014d400b006cdd83f45c0si270184pfu.229.2023.12.06.09.39.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 09:39:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="FAM9/2AG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id CCF818026AD3; Wed, 6 Dec 2023 09:39:44 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442603AbjLFRje (ORCPT + 99 others); Wed, 6 Dec 2023 12:39:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442595AbjLFRjc (ORCPT ); Wed, 6 Dec 2023 12:39:32 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43ACDD47 for ; Wed, 6 Dec 2023 09:39:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701884379; x=1733420379; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Ra06s2wat/gRp2NTt+vmqIMOkgGactMT0z9RIX4ie/8=; b=FAM9/2AGk2K74pQ2jtBnyQoFcKxZHMRIK+o1ehyoTI+CiDrHjyyao2PU of8m1ibBQRHRd16IAt+9T0rsylC9b96sLayYyx0qRjeGkjHpJzrRCLMRB yya6syW4AbJYmkqjMgu7dC/FVrlQTHorXTNiX3SB2FMgQIJElbsgp9COx 2eULtPzgJVTBchriphyj8L9hNyWVxBy3h5XzotcKNi1bqNJyWmiifNva+ nEKJkbv2WJJJQmcLuPMHGHaI7uHVdnGxdxrQRUiRk9xLtlQK4D10Z/nEQ h+khB7mIW0EfaRodp1L8COQ7NQDktq1QGvCInwJWRJKF5OQ71wFAko+Jt w==; X-IronPort-AV: E=McAfee;i="6600,9927,10916"; a="1197924" X-IronPort-AV: E=Sophos;i="6.04,255,1695711600"; d="scan'208";a="1197924" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Dec 2023 09:39:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10916"; a="1102910109" X-IronPort-AV: E=Sophos;i="6.04,255,1695711600"; d="scan'208";a="1102910109" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by fmsmga005.fm.intel.com with ESMTP; 06 Dec 2023 09:39:34 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rAvrw-000BCl-0u; Wed, 06 Dec 2023 17:39:32 +0000 Date: Thu, 7 Dec 2023 01:38:01 +0800 From: kernel test robot To: Daniel Wagner , linux-nvme@lists.infradead.org Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Keith Busch , Christoph Hellwig , Sagi Grimberg , Hannes Reinecke , Daniel Wagner Subject: Re: [PATCH v3 3/4] nvme: move ns id info to struct nvme_ns_head Message-ID: <202312070134.P5lZMJCN-lkp@intel.com> References: <20231206081244.32733-4-dwagner@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231206081244.32733-4-dwagner@suse.de> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 06 Dec 2023 09:39:45 -0800 (PST) Hi Daniel, kernel test robot noticed the following build errors: [auto build test ERROR on v6.7-rc4] [also build test ERROR on linus/master next-20231206] [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/Daniel-Wagner/nvme-lookup-ctrl-from-request-instead-from-namespace/20231206-161455 base: v6.7-rc4 patch link: https://lore.kernel.org/r/20231206081244.32733-4-dwagner%40suse.de patch subject: [PATCH v3 3/4] nvme: move ns id info to struct nvme_ns_head config: arm64-defconfig (https://download.01.org/0day-ci/archive/20231207/202312070134.P5lZMJCN-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231207/202312070134.P5lZMJCN-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202312070134.P5lZMJCN-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/nvme/host/core.c: In function 'nvme_update_ns_info_generic': >> drivers/nvme/host/core.c:2034:47: error: passing argument 1 of 'nvme_mpath_revalidate_paths' from incompatible pointer type [-Werror=incompatible-pointer-types] 2034 | nvme_mpath_revalidate_paths(ns->head); | ~~^~~~~~ | | | struct nvme_ns_head * In file included from drivers/nvme/host/core.c:25: drivers/nvme/host/nvme.h:945:64: note: expected 'struct nvme_ns *' but argument is of type 'struct nvme_ns_head *' 945 | static inline void nvme_mpath_revalidate_paths(struct nvme_ns *ns) | ~~~~~~~~~~~~~~~~^~ drivers/nvme/host/core.c: In function 'nvme_update_ns_info_block': drivers/nvme/host/core.c:2109:47: error: passing argument 1 of 'nvme_mpath_revalidate_paths' from incompatible pointer type [-Werror=incompatible-pointer-types] 2109 | nvme_mpath_revalidate_paths(ns->head); | ~~^~~~~~ | | | struct nvme_ns_head * drivers/nvme/host/nvme.h:945:64: note: expected 'struct nvme_ns *' but argument is of type 'struct nvme_ns_head *' 945 | static inline void nvme_mpath_revalidate_paths(struct nvme_ns *ns) | ~~~~~~~~~~~~~~~~^~ cc1: some warnings being treated as errors vim +/nvme_mpath_revalidate_paths +2034 drivers/nvme/host/core.c 2022 2023 static int nvme_update_ns_info_generic(struct nvme_ns *ns, 2024 struct nvme_ns_info *info) 2025 { 2026 blk_mq_freeze_queue(ns->disk->queue); 2027 nvme_set_queue_limits(ns->ctrl, ns->queue); 2028 set_disk_ro(ns->disk, nvme_ns_is_readonly(ns, info)); 2029 blk_mq_unfreeze_queue(ns->disk->queue); 2030 2031 if (nvme_ns_head_multipath(ns->head)) { 2032 blk_mq_freeze_queue(ns->head->disk->queue); 2033 set_disk_ro(ns->head->disk, nvme_ns_is_readonly(ns, info)); > 2034 nvme_mpath_revalidate_paths(ns->head); 2035 blk_stack_limits(&ns->head->disk->queue->limits, 2036 &ns->queue->limits, 0); 2037 ns->head->disk->flags |= GENHD_FL_HIDDEN; 2038 blk_mq_unfreeze_queue(ns->head->disk->queue); 2039 } 2040 2041 /* Hide the block-interface for these devices */ 2042 ns->disk->flags |= GENHD_FL_HIDDEN; 2043 set_bit(NVME_NS_READY, &ns->flags); 2044 2045 return 0; 2046 } 2047 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki