From patchwork Wed Jun 12 04:47:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ira Weiny X-Patchwork-Id: 13694417 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) (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 683151F92F for ; Wed, 12 Jun 2024 04:47:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.16 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718167661; cv=none; b=fChAsp2SEsHjy3oPsypz+6eyeMGDaoi13L5SWm/2So+mgG+dG/spsEcLr22d2Jr8TypCY8xkUafPy60liKq0n5DItS9+fYBlZw/LxRBHjLdDjl3t9Ok5mmbN2Oma901qCFX/nZYneyFW+PlVuqGkQNbznJ3SEqcWpUs+P3usk+k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718167661; c=relaxed/simple; bh=DwOaQl3v4kXfyBw+OsCGIk1eo2nvMrlf7McHTzHa+40=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=c7GuG6+7U6144UNWy4Lkluko/jqIh2LLYlpL213pbN+11I5oVxDZryhx95Wj/jA7vYVyPCLFnfpEtBEyiip/22j/0cDmkmXIrbL7qN033AH/ukrKHpo8agk9mkMO/JTApaYGiNGHMAYCYJI/aNju7gvE43lvXZB2VMYX0Dtocn0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=EKjrNjIb; arc=none smtp.client-ip=198.175.65.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="EKjrNjIb" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718167661; x=1749703661; h=from:date:subject:mime-version:content-transfer-encoding: message-id:to:cc; bh=DwOaQl3v4kXfyBw+OsCGIk1eo2nvMrlf7McHTzHa+40=; b=EKjrNjIblNlrJ7SMZJ/QkQIAgxj5bp8OG6GyFAmVw/ysR0G24ySvXJWc k4Sl7FOasJzgyist/CkcuQhp0E2QA7cgYjs0LjDcqIb2uJEkX6Ff99ixO E2AP1KkYrD9kwiY8RRK73zW1SdGg0ENXPr5t6h6Ppyl3zh7IAOKa6zVT0 A9U+on1tk23ZfQI0OCqBcTXUiycptbzqlfm51+ggzJ8QyHtw9p5UNDOhd pbBVIi2Ldj79Jjv1JK/CbrkWkIbDBTFCd4eZRlcc3gsRiaZiLSk5vaYz0 9omQwQUEbwdzTeynxzS3DYHyIjY48hwWxlt2GyH1vCBzFlkUae1mgQvNw Q==; X-CSE-ConnectionGUID: lb3BgeCMS+K+67p6cPj4BQ== X-CSE-MsgGUID: Yx3q2Sw7RUekaDDmMh56sQ== X-IronPort-AV: E=McAfee;i="6600,9927,11100"; a="15038686" X-IronPort-AV: E=Sophos;i="6.08,232,1712646000"; d="scan'208";a="15038686" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2024 21:47:40 -0700 X-CSE-ConnectionGUID: arkobFfVQEynY0OdfwYIeA== X-CSE-MsgGUID: Vq54Ex0LRrep1F5oIRtuhg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,232,1712646000"; d="scan'208";a="39630490" Received: from iweiny-mobl.amr.corp.intel.com (HELO localhost) ([10.213.170.70]) by fmviesa008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2024 21:47:39 -0700 From: Ira Weiny Date: Tue, 11 Jun 2024 23:47:31 -0500 Subject: [PATCH] testing: nvdimm: Add MODULE_DESCRIPTION() macros Precedence: bulk X-Mailing-List: nvdimm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240611-nvdimm-test-mod-warn-v1-1-4a583be68c17@intel.com> X-B4-Tracking: v=1; b=H4sIAGIoaWYC/x3MQQqAIBBA0avErBvQjIyuEi1Mp5qFFhoWRHdPW r7F/w8kikwJhuqBSJkT76FA1hXYzYSVkF0xNKJpRSclhuzYezwpneh3h5eJAXu7aK1UJ2aloaR HpIXvfztO7/sBL1PC5GYAAAA= To: nvdimm@lists.linux.dev Cc: Dan Williams , Vishal Verma , Dave Jiang , linux-kernel@vger.kernel.org, Jeff Johnson , Ira Weiny X-Mailer: b4 0.13-dev-2d940 X-Developer-Signature: v=1; a=ed25519-sha256; t=1718167658; l=1841; i=ira.weiny@intel.com; s=20221211; h=from:subject:message-id; bh=DwOaQl3v4kXfyBw+OsCGIk1eo2nvMrlf7McHTzHa+40=; b=ZG57LJpHjEvng6K4xUdJD9QsKjnJk8zQ84LIS2EZlf3lc9O9OLmWe+xKxyiXGQec7tOHXhbFL 43sQTJ5p5T7Do5vn4Wob8GoIMKsVpGJBLWDbsw6X+G+jHO3c+JbRF0M X-Developer-Key: i=ira.weiny@intel.com; a=ed25519; pk=noldbkG+Wp1qXRrrkfY1QJpDf7QsOEthbOT7vm0PqsE= When building with W=1 the following errors are seen: WARNING: modpost: missing MODULE_DESCRIPTION() in tools/testing/nvdimm/test/nfit_test.o WARNING: modpost: missing MODULE_DESCRIPTION() in tools/testing/nvdimm/test/ndtest.o Add the required MODULE_DESCRIPTION() to the test platform device drivers. Suggested-by: Jeff Johnson Signed-off-by: Ira Weiny Reviewed-by: Jeff Johnson --- Jeff I'm not seeing a patch to cover these cases for the missing module descriptions you have been sending out. If you have an outstanding patch I missed could you point me to it? Otherwise I believe this cleans up the nvdimm tree. --- tools/testing/nvdimm/test/ndtest.c | 1 + tools/testing/nvdimm/test/nfit.c | 1 + 2 files changed, 2 insertions(+) --- base-commit: 2df0193e62cf887f373995fb8a91068562784adc change-id: 20240611-nvdimm-test-mod-warn-8cf773360b37 Best regards, diff --git a/tools/testing/nvdimm/test/ndtest.c b/tools/testing/nvdimm/test/ndtest.c index b438f3d053ee..892e990c034a 100644 --- a/tools/testing/nvdimm/test/ndtest.c +++ b/tools/testing/nvdimm/test/ndtest.c @@ -987,5 +987,6 @@ static __exit void ndtest_exit(void) module_init(ndtest_init); module_exit(ndtest_exit); +MODULE_DESCRIPTION("Test non-NFIT devices"); MODULE_LICENSE("GPL"); MODULE_AUTHOR("IBM Corporation"); diff --git a/tools/testing/nvdimm/test/nfit.c b/tools/testing/nvdimm/test/nfit.c index a61df347a33d..cfd4378e2129 100644 --- a/tools/testing/nvdimm/test/nfit.c +++ b/tools/testing/nvdimm/test/nfit.c @@ -3382,5 +3382,6 @@ static __exit void nfit_test_exit(void) module_init(nfit_test_init); module_exit(nfit_test_exit); +MODULE_DESCRIPTION("Test ACPI NFIT devices"); MODULE_LICENSE("GPL v2"); MODULE_AUTHOR("Intel Corporation");