From: Jeff Johnson <quic_jjohnson@quicinc.com>
To: Kirti Wankhede <kwankhede@nvidia.com>
Cc: <kvm@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<kernel-janitors@vger.kernel.org>
Subject: Re: [PATCH] vfio-mdev: add MODULE_DESCRIPTION() macros
Date: Thu, 11 Jul 2024 11:30:36 -0700 [thread overview]
Message-ID: <a94604eb-7ea6-4813-aa78-6c73f7d4253a@quicinc.com> (raw)
In-Reply-To: <20240523-md-vfio-mdev-v1-1-4676cd532b10@quicinc.com>
On 5/23/24 17:12, Jeff Johnson wrote:
> Fix the 'make W=1' warnings:
> WARNING: modpost: missing MODULE_DESCRIPTION() in samples/vfio-mdev/mtty.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in samples/vfio-mdev/mdpy.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in samples/vfio-mdev/mdpy-fb.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in samples/vfio-mdev/mbochs.o
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> ---
> samples/vfio-mdev/mbochs.c | 1 +
> samples/vfio-mdev/mdpy-fb.c | 1 +
> samples/vfio-mdev/mdpy.c | 1 +
> samples/vfio-mdev/mtty.c | 1 +
> 4 files changed, 4 insertions(+)
>
> diff --git a/samples/vfio-mdev/mbochs.c b/samples/vfio-mdev/mbochs.c
> index 9062598ea03d..836456837997 100644
> --- a/samples/vfio-mdev/mbochs.c
> +++ b/samples/vfio-mdev/mbochs.c
> @@ -88,6 +88,7 @@
> #define STORE_LE32(addr, val) (*(u32 *)addr = val)
>
>
> +MODULE_DESCRIPTION("Mediated virtual PCI display host device driver");
> MODULE_LICENSE("GPL v2");
>
> static int max_mbytes = 256;
> diff --git a/samples/vfio-mdev/mdpy-fb.c b/samples/vfio-mdev/mdpy-fb.c
> index 4598bc28acd9..149af7f598f8 100644
> --- a/samples/vfio-mdev/mdpy-fb.c
> +++ b/samples/vfio-mdev/mdpy-fb.c
> @@ -229,4 +229,5 @@ static int __init mdpy_fb_init(void)
> module_init(mdpy_fb_init);
>
> MODULE_DEVICE_TABLE(pci, mdpy_fb_pci_table);
> +MODULE_DESCRIPTION("Framebuffer driver for mdpy (mediated virtual pci display device)");
> MODULE_LICENSE("GPL v2");
> diff --git a/samples/vfio-mdev/mdpy.c b/samples/vfio-mdev/mdpy.c
> index 27795501de6e..8104831ae125 100644
> --- a/samples/vfio-mdev/mdpy.c
> +++ b/samples/vfio-mdev/mdpy.c
> @@ -40,6 +40,7 @@
> #define STORE_LE32(addr, val) (*(u32 *)addr = val)
>
>
> +MODULE_DESCRIPTION("Mediated virtual PCI display host device driver");
> MODULE_LICENSE("GPL v2");
>
> #define MDPY_TYPE_1 "vga"
> diff --git a/samples/vfio-mdev/mtty.c b/samples/vfio-mdev/mtty.c
> index 2284b3751240..40e7d154455e 100644
> --- a/samples/vfio-mdev/mtty.c
> +++ b/samples/vfio-mdev/mtty.c
> @@ -2059,5 +2059,6 @@ module_exit(mtty_dev_exit)
>
> MODULE_LICENSE("GPL v2");
> MODULE_INFO(supported, "Test driver that simulate serial port over PCI");
> +MODULE_DESCRIPTION("Test driver that simulate serial port over PCI");
> MODULE_VERSION(VERSION_STRING);
> MODULE_AUTHOR(DRIVER_AUTHOR);
>
> ---
> base-commit: 5c4069234f68372e80e4edfcce260e81fd9da007
> change-id: 20240523-md-vfio-mdev-381f74bf87f1
>
I don't see this in linux-next yet so following up to see if anything
else is needed to get this merged.
I hope to have these warnings fixed tree-wide in 6.11.
/jeff
next prev parent reply other threads:[~2024-07-11 18:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-24 0:12 Jeff Johnson
2024-07-11 18:30 ` Jeff Johnson [this message]
2024-07-12 7:27 ` Kirti Wankhede
2024-07-12 22:36 ` Alex Williamson
2024-07-15 16:17 ` Jeff Johnson
2024-07-15 16:35 ` Alex Williamson
2024-07-15 17:32 ` Jeff Johnson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a94604eb-7ea6-4813-aa78-6c73f7d4253a@quicinc.com \
--to=quic_jjohnson@quicinc.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=kvm@vger.kernel.org \
--cc=kwankhede@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®