From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 7C4BB5CB9 for ; Fri, 28 Apr 2023 16:05:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682697927; x=1714233927; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=9IumtC2lonueo4e5OqEqYNIk1+cvaDY+u/lw9h39ob0=; b=JsesKnD+RVPMDl9RqJpdBcm7d/MEbca6IaTOFv3UhYiKUM9rbqCtNKuS FPcrd6PDcvSMygAtmuPqvvxYalgHkRVAwqpHYiqGe5HYn34rTgx4xo0im flL58x1AmVXU24ISQiz/rvKXMzFAUj1MWPjQmj1pWrydMz/RXTiAwLrEk /IrB9G7LuGsWZbhFv5FXvw0TVH5cTDA94mpAzFnHVlRiTj+/hq+4DGVdn yRwqwvM6IiRPr0pC7j+v5lUEicn312HqaWtivP0KBSIuL1DZ0OJEpHFgh MlmfiycF7rqg0Vojd7hvLr0MLNYw5e2gB05e4BvCi8MsocpMDMqGdCkvz A==; X-IronPort-AV: E=McAfee;i="6600,9927,10694"; a="350696729" X-IronPort-AV: E=Sophos;i="5.99,235,1677571200"; d="scan'208";a="350696729" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2023 09:05:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10694"; a="672236379" X-IronPort-AV: E=Sophos;i="5.99,235,1677571200"; d="scan'208";a="672236379" Received: from egliskay-mobl.amr.corp.intel.com (HELO [10.212.108.170]) ([10.212.108.170]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2023 09:05:18 -0700 Message-ID: Date: Fri, 28 Apr 2023 09:05:17 -0700 Precedence: bulk X-Mailing-List: nvdimm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.10.0 Subject: Re: [PATCH 3/4] test: Support test modules located in 'updates' instead of 'extra' Content-Language: en-US To: Dan Williams , vishal.l.verma@intel.com Cc: linux-cxl@vger.kernel.org, nvdimm@lists.linux.dev References: <168236637159.1027628.7560967008080605819.stgit@dwillia2-xfh.jf.intel.com> <168236638863.1027628.11883188611397194858.stgit@dwillia2-xfh.jf.intel.com> From: Dave Jiang In-Reply-To: <168236638863.1027628.11883188611397194858.stgit@dwillia2-xfh.jf.intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/24/23 12:59 PM, Dan Williams wrote: > Since kernel commit: > > b74d7bb7ca24 ("kbuild: Modify default INSTALL_MOD_DIR from extra to updates") > > ...the kernel build process deposits the nfit_test can cxl_test modules in s/can/and/ ? > /lib/modules/$KVER/updates. This is more widely supported across multiple > distributions as a default override for modules that ship in their native > directory. > > Signed-off-by: Dan Williams Reviewed-by: Dave Jiang > --- > test/core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/test/core.c b/test/core.c > index 5d1aa23723f1..a354f41dcba0 100644 > --- a/test/core.c > +++ b/test/core.c > @@ -209,7 +209,7 @@ retry: > break; > } > > - if (!strstr(path, "/extra/")) { > + if (!strstr(path, "/extra/") && !strstr(path, "/updates/")) { > log_err(&log_ctx, "%s.ko: appears to be production version: %s\n", > name, path); > break; > >