Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp490753lqt; Thu, 6 Jun 2024 09:16:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVPl6gtf/D6iVkQErgze07gknghHlS/ahkHOxZIe6TEEv5Y2oQbBiFCAdNZ3siABS/QusgC8PHZVHsyYnxHO4wgKzmrQ3ZnpfHpYoCJ2w== X-Google-Smtp-Source: AGHT+IE/WFi0ow61y/R6DUtrRPttXxUugjKQC02NexSWLmq7RnrT8mQzljOxD/7mtNoCWA/ciZ7O X-Received: by 2002:a17:906:7146:b0:a6a:bcd0:9f16 with SMTP id a640c23a62f3a-a6cd60a183dmr3442966b.25.1717690604368; Thu, 06 Jun 2024 09:16:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717690604; cv=pass; d=google.com; s=arc-20160816; b=HUpe0O2dczcOJB0SH8NjP5KYs4BmBPh9z3TD3tQkENAeNwMAJOcjFi5ALWOTHAKKnp ShFNQ3zhZrAHJPICoh2+ufjTy8Mm3+9ZiBxqM8xdVeMn0ENGZ3aVBy1Ssvnag5GDpDIh CVpStVMMcK77ze9OsEVjB72OyfdTghpaF+vbTBJiV6dgSiIdRPpow/oFuECdGgHrV+i5 duheppNm+J5JJSJl5lggE+vOLtkrL06NzJjh1XyjpZKgGD6lk9oAWvMczVGGpHKGAs6k ZAPDaQVkMOUbA7vhatNg6Y6/heMnmdIL+gnrAQxedGr4cTu36+IlQIgEn+uc2Hd4RNyA yWjw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=EeV7gUXdjtcKknGZa/7N6ajh4ceALBCvxeSK/1MI2qQ=; fh=KPbYFSt4fFG9gtNQVVd/y5MY801E38ZANlS0e4xq9u0=; b=gcuqHBo9e59Tcj5CCRwTg5HvZqJVQdbrjYkQy4TSrenTI5nK1O68gyCgW4Jlz068L0 7yBcLUngqujCm7meemmz5wodYjdj+m5IpwozTurzj6/1v4f9TCdvmeNbSdLHYeBJymKx mUOJnUJbszumG6CgY80vGc0dPn/0xSiZjYCnG7JMH/btWy2QC3H68QTDtcbHvtbfAk/D l+0bZHEfIbl4kpIuoFhaGlzh56l1yY1JqfuVThhHGfzbcHNbK4qLh5UjICB4sFkrHXsm t1TLfWrNoxMJ1dAab5RzEj/NEB5WFaD6UMsCaQmgvJiFWClWgGTq4z+SgA2NXb0jd25b Z7Gg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=UhIfQ4IP; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-204667-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204667-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6c806db4eesi83620566b.396.2024.06.06.09.16.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 09:16:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-204667-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=UhIfQ4IP; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-204667-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204667-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E407A1F266F2 for ; Thu, 6 Jun 2024 16:16:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 939C519AD9D; Thu, 6 Jun 2024 16:12:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="UhIfQ4IP" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (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 2CE6E19922C; Thu, 6 Jun 2024 16:12:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717690370; cv=none; b=h9qPGddrOkeKHjzd6CbrT+jlhRdqSBWjy31Bvi50FqRMy7rYUKC+U+QaYdUtoneWYA1qpR1TeF/rL+S5fTNOuDFumZkE1xpyGjvjkVvXOZVfiFEYuz5Y4QW+ltp6zRlaGijpg/d8Nh8Nu6pvsfry56oP2v0YX4MV6U+lGqeKsQA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717690370; c=relaxed/simple; bh=FLkgxi+pF25xhHIbp2IkfKVsNIEObURWbTxALpl5xow=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=uLTuwDhnA4ih6EnTcScKtewuG3ZQa8aKOtSs55ULH5ykoLVC1s3ySkjUzyl2DDnFb0qQN+hxUnpZurNyOwlu4o/G2kj4H6ePGxU1/v3KhYon0V07Ajqy/pvwlWuTgVakIihHwAaVJ+VqrEItgzU6WNqEZfAzQPvrL8oCP+SmxLM= 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=UhIfQ4IP; arc=none smtp.client-ip=198.175.65.15 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717690369; x=1749226369; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=FLkgxi+pF25xhHIbp2IkfKVsNIEObURWbTxALpl5xow=; b=UhIfQ4IPqJPInGZG/lqNpgYj5z4dkv2TJKWM7XaVSqADsg7oIo/7xuwE a0lORgX/IZKD9Cedi0ft4KbmPSd9uSAlwWPmNZsE4yD+ZccRAm66vhOih cbY3uYDU4/CdHXw2l7HM3EAGZttkD91/z9wZydHThsqGAQWLPYhQXPQ0K MD9Nf/k0WNdfI8bZalVfjlSE/gnNdbKXf34bOxdhH/eRCujVIoiUpbOsb JU3jzx+NKgHqoKCzHaZQLlidUQ7FfgpRVqXdOYU6LWZl+cJhA+BWvgI+S gGgQEh+mmCObeoPvZwhLk4s29UEJ9kuMgw0kK1UI6NRNII+dWXcQG7sWn g==; X-CSE-ConnectionGUID: hkr0IPrBSM25meLI0KTqig== X-CSE-MsgGUID: d5jsDsXKRhqKobdGHjEcAA== X-IronPort-AV: E=McAfee;i="6600,9927,11095"; a="18164961" X-IronPort-AV: E=Sophos;i="6.08,219,1712646000"; d="scan'208";a="18164961" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2024 09:12:48 -0700 X-CSE-ConnectionGUID: +lPHS99LR8SsXcZGmjMI2w== X-CSE-MsgGUID: fiUbgt3HR1m8ltR79Nforw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,219,1712646000"; d="scan'208";a="38467602" Received: from djiang5-mobl3.amr.corp.intel.com (HELO [10.125.109.168]) ([10.125.109.168]) by orviesa006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2024 09:12:48 -0700 Message-ID: <5bc0ab49-c24b-4057-9bad-5193328f2cc1@intel.com> Date: Thu, 6 Jun 2024 09:12:47 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RESEND] nvdimm: add missing MODULE_DESCRIPTION() macros To: Jeff Johnson , Vishal Verma , Dan Williams , Ira Weiny , Pankaj Gupta , Oliver O'Halloran Cc: nvdimm@lists.linux.dev, linux-kernel@vger.kernel.org, virtualization@lists.linux.dev, kernel-janitors@vger.kernel.org References: <20240526-md-drivers-nvdimm-v1-1-9e583677e80f@quicinc.com> Content-Language: en-US From: Dave Jiang In-Reply-To: <20240526-md-drivers-nvdimm-v1-1-9e583677e80f@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 5/26/24 10:07 AM, Jeff Johnson wrote: > Fix the 'make W=1' warnings: > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/libnvdimm.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/nd_pmem.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/nd_btt.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/nd_e820.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/of_pmem.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/nd_virtio.o > > Signed-off-by: Jeff Johnson Reviewed-by: Dave Jiang > --- > drivers/nvdimm/btt.c | 1 + > drivers/nvdimm/core.c | 1 + > drivers/nvdimm/e820.c | 1 + > drivers/nvdimm/nd_virtio.c | 1 + > drivers/nvdimm/of_pmem.c | 1 + > drivers/nvdimm/pmem.c | 1 + > 6 files changed, 6 insertions(+) > > diff --git a/drivers/nvdimm/btt.c b/drivers/nvdimm/btt.c > index 1e5aedaf8c7b..a47acc5d05df 100644 > --- a/drivers/nvdimm/btt.c > +++ b/drivers/nvdimm/btt.c > @@ -1721,6 +1721,7 @@ static void __exit nd_btt_exit(void) > > MODULE_ALIAS_ND_DEVICE(ND_DEVICE_BTT); > MODULE_AUTHOR("Vishal Verma "); > +MODULE_DESCRIPTION("NVDIMM Block Translation Table"); > MODULE_LICENSE("GPL v2"); > module_init(nd_btt_init); > module_exit(nd_btt_exit); > diff --git a/drivers/nvdimm/core.c b/drivers/nvdimm/core.c > index 2023a661bbb0..f4b6fb4b9828 100644 > --- a/drivers/nvdimm/core.c > +++ b/drivers/nvdimm/core.c > @@ -540,6 +540,7 @@ static __exit void libnvdimm_exit(void) > nvdimm_devs_exit(); > } > > +MODULE_DESCRIPTION("NVDIMM (Non-Volatile Memory Device) core module"); > MODULE_LICENSE("GPL v2"); > MODULE_AUTHOR("Intel Corporation"); > subsys_initcall(libnvdimm_init); > diff --git a/drivers/nvdimm/e820.c b/drivers/nvdimm/e820.c > index 4cd18be9d0e9..008b9aae74ff 100644 > --- a/drivers/nvdimm/e820.c > +++ b/drivers/nvdimm/e820.c > @@ -69,5 +69,6 @@ static struct platform_driver e820_pmem_driver = { > module_platform_driver(e820_pmem_driver); > > MODULE_ALIAS("platform:e820_pmem*"); > +MODULE_DESCRIPTION("NVDIMM support for e820 type-12 memory"); > MODULE_LICENSE("GPL v2"); > MODULE_AUTHOR("Intel Corporation"); > diff --git a/drivers/nvdimm/nd_virtio.c b/drivers/nvdimm/nd_virtio.c > index 1f8c667c6f1e..35c8fbbba10e 100644 > --- a/drivers/nvdimm/nd_virtio.c > +++ b/drivers/nvdimm/nd_virtio.c > @@ -123,4 +123,5 @@ int async_pmem_flush(struct nd_region *nd_region, struct bio *bio) > return 0; > }; > EXPORT_SYMBOL_GPL(async_pmem_flush); > +MODULE_DESCRIPTION("Virtio Persistent Memory Driver"); > MODULE_LICENSE("GPL"); > diff --git a/drivers/nvdimm/of_pmem.c b/drivers/nvdimm/of_pmem.c > index d3fca0ab6290..5134a8d08bf9 100644 > --- a/drivers/nvdimm/of_pmem.c > +++ b/drivers/nvdimm/of_pmem.c > @@ -111,5 +111,6 @@ static struct platform_driver of_pmem_region_driver = { > > module_platform_driver(of_pmem_region_driver); > MODULE_DEVICE_TABLE(of, of_pmem_region_match); > +MODULE_DESCRIPTION("NVDIMM Device Tree support"); > MODULE_LICENSE("GPL"); > MODULE_AUTHOR("IBM Corporation"); > diff --git a/drivers/nvdimm/pmem.c b/drivers/nvdimm/pmem.c > index 598fe2e89bda..57cb30f8a3b8 100644 > --- a/drivers/nvdimm/pmem.c > +++ b/drivers/nvdimm/pmem.c > @@ -768,4 +768,5 @@ static struct nd_device_driver nd_pmem_driver = { > module_nd_driver(nd_pmem_driver); > > MODULE_AUTHOR("Ross Zwisler "); > +MODULE_DESCRIPTION("NVDIMM Persistent Memory Driver"); > MODULE_LICENSE("GPL v2"); > > --- > base-commit: 416ff45264d50a983c3c0b99f0da6ee59f9acd68 > change-id: 20240526-md-drivers-nvdimm-121215a4b93f