diff mbox series

brd: add missing MODULE_DESCRIPTION() macro

Message ID 20240602-md-block-brd-v1-1-e71338e131b6@quicinc.com (mailing list archive)
State New, archived
Headers show
Series brd: add missing MODULE_DESCRIPTION() macro | expand

Commit Message

Jeff Johnson June 2, 2024, 11:46 p.m. UTC
make allmodconfig && make W=1 C=1 reports:
modpost: missing MODULE_DESCRIPTION() in drivers/block/brd.o

Add the missing invocation of the MODULE_DESCRIPTION() macro.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
 drivers/block/brd.c | 1 +
 1 file changed, 1 insertion(+)


---
base-commit: a693b9c95abd4947c2d06e05733de5d470ab6586
change-id: 20240602-md-block-brd-e4ac89657a2a

Comments

Jeff Johnson June 23, 2024, 5:32 p.m. UTC | #1
On 6/2/2024 4:46 PM, Jeff Johnson wrote:
> make allmodconfig && make W=1 C=1 reports:
> modpost: missing MODULE_DESCRIPTION() in drivers/block/brd.o
> 
> Add the missing invocation of the MODULE_DESCRIPTION() macro.
> 
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> ---
>  drivers/block/brd.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/block/brd.c b/drivers/block/brd.c
> index 558d8e670566..3fb2f37ab893 100644
> --- a/drivers/block/brd.c
> +++ b/drivers/block/brd.c
> @@ -296,6 +296,7 @@ static int max_part = 1;
>  module_param(max_part, int, 0444);
>  MODULE_PARM_DESC(max_part, "Num Minors to reserve between devices");
>  
> +MODULE_DESCRIPTION("Ram backed block device driver");
>  MODULE_LICENSE("GPL");
>  MODULE_ALIAS_BLOCKDEV_MAJOR(RAMDISK_MAJOR);
>  MODULE_ALIAS("rd");
> 
> ---
> base-commit: a693b9c95abd4947c2d06e05733de5d470ab6586
> change-id: 20240602-md-block-brd-e4ac89657a2a
> 

Following up to see if anything else is needed to get this and the other
drivers/block MODULE_DESCRIPTION() additions merged:
https://lore.kernel.org/all/20240602-md-block-brd-v1-1-e71338e131b6@quicinc.com/
https://lore.kernel.org/all/20240602-md-block-floppy-v1-1-bc628ea5eb84@quicinc.com/
https://lore.kernel.org/all/20240602-md-block-loop-v1-1-b9b7e2603e72@quicinc.com/
https://lore.kernel.org/all/20240602-md-block-ublk_drv-v1-1-995474cafff0@quicinc.com/
https://lore.kernel.org/all/20240602-md-block-xen-blkback-v1-1-6ff5b58bdee1@quicinc.com/
Jens Axboe June 24, 2024, 2:40 p.m. UTC | #2
On Sun, 02 Jun 2024 16:46:25 -0700, Jeff Johnson wrote:
> make allmodconfig && make W=1 C=1 reports:
> modpost: missing MODULE_DESCRIPTION() in drivers/block/brd.o
> 
> Add the missing invocation of the MODULE_DESCRIPTION() macro.
> 
> 

Applied, thanks!

[1/1] brd: add missing MODULE_DESCRIPTION() macro
      commit: 876835b128976e2e9a7d18daab58b4cba7742787

Best regards,
diff mbox series

Patch

diff --git a/drivers/block/brd.c b/drivers/block/brd.c
index 558d8e670566..3fb2f37ab893 100644
--- a/drivers/block/brd.c
+++ b/drivers/block/brd.c
@@ -296,6 +296,7 @@  static int max_part = 1;
 module_param(max_part, int, 0444);
 MODULE_PARM_DESC(max_part, "Num Minors to reserve between devices");
 
+MODULE_DESCRIPTION("Ram backed block device driver");
 MODULE_LICENSE("GPL");
 MODULE_ALIAS_BLOCKDEV_MAJOR(RAMDISK_MAJOR);
 MODULE_ALIAS("rd");