Re: [PATCH] ublk_drv: add missing MODULE_DESCRIPTION() macro
From: Ming Lei
Date: Sun Jun 02 2024 - 20:54:27 EST
On Sun, Jun 02, 2024 at 05:23:26PM -0700, Jeff Johnson wrote:
> make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/ublk_drv.o
>
> Add the missing invocation of the MODULE_DESCRIPTION() macro.
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>
> ---
> drivers/block/ublk_drv.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/block/ublk_drv.c b/drivers/block/ublk_drv.c
> index 4e159948c912..59916895ee2e 100644
> --- a/drivers/block/ublk_drv.c
> +++ b/drivers/block/ublk_drv.c
> @@ -3017,4 +3017,5 @@ module_param_cb(ublks_max, &ublk_max_ublks_ops, &ublks_max, 0644);
> MODULE_PARM_DESC(ublks_max, "max number of ublk devices allowed to add(default: 64)");
>
> MODULE_AUTHOR("Ming Lei <ming.lei@xxxxxxxxxx>");
> +MODULE_DESCRIPTION("Userspace block device");
> MODULE_LICENSE("GPL");
Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx>
Thanks,
Ming