Skip to contentSkip to conversation

drm/radeon/kms: Fix module parameter description format

PATCH In review Jean Delvare 2 participants 3 messages Nov 30, 2011 – Jan 11, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/radeon/kms: Fix module parameter description format

From: Jean Delvare <[email protected]>
Subject: drm/radeon/kms: Fix module parameter description format

Module parameter descriptions don't take a trailing \n, otherwise it breaks formatting of modinfo's output. Also add missing space after comma.

Cc David Airlie <[email protected]>
Cc Alex Deucher <[email protected]>
Cc Jerome Glisse <[email protected]>
---
 drivers/gpu/drm/radeon/radeon_drv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/radeon_drv.c +1 -1
@@ -140,7 +140,7 @@ module_param_named(vramlimit, radeon_vra
 MODULE_PARM_DESC(agpmode, "AGP Mode (-1 == PCI)");
 module_param_named(agpmode, radeon_agpmode, int, 0444);
 
-MODULE_PARM_DESC(gartsize, "Size of PCIE/IGP gart to setup in megabytes (32,64, etc)\n");
+MODULE_PARM_DESC(gartsize, "Size of PCIE/IGP gart to setup in megabytes (32, 64, etc)");
 module_param_named(gartsize, radeon_gart_size, int, 0600);
 
 MODULE_PARM_DESC(benchmark, "Run benchmark");
Signature · 2 lines
Jean Delvare
Suse L3
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Jean Delvare

From: Jean Delvare <[email protected]>
Subject: drm/radeon/kms: Fix module parameter description format

Module parameter descriptions don't take a trailing \n, otherwise it breaks formatting of modinfo's output. Also add missing space after comma.

Cc David Airlie <[email protected]>
Cc Alex Deucher <[email protected]>
Cc Jerome Glisse <[email protected]>
Quoted 24 lines

---
 drivers/gpu/drm/radeon/radeon_drv.c |    2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/radeon_drv.c   2011-11-29 10:25:27.000000000 +0100 renamed from drivers/gpu/drm/radeon/radeon_drv.c      2011-11-24 10:13:11.000000000 +0100 +1 -2
@@ -140,7 +140,7 @@ module_param_named(vramlimit, radeon_vra
  MODULE_PARM_DESC(agpmode, "AGP Mode (-1 == PCI)");
  module_param_named(agpmode, radeon_agpmode, int, 0444);
 
-MODULE_PARM_DESC(gartsize, "Size of PCIE/IGP gart to setup in megabytes (32,64, etc)\n");
+MODULE_PARM_DESC(gartsize, "Size of PCIE/IGP gart to setup in megabytes (32, 64, etc)");
  module_param_named(gartsize, radeon_gart_size, int, 0600);
 
  MODULE_PARM_DESC(benchmark, "Run benchmark");
 
--

Jean Delvare
Suse L3
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
Quoted 9 lines · Alex Deucher
Quoted 7 lines · Jean Delvare

From: Jean Delvare <[email protected]>
Subject: drm/radeon/kms: Fix module parameter description format

Module parameter descriptions don't take a trailing \n, otherwise it breaks formatting of modinfo's output. Also add missing space after comma.

Quoted 6 lines
Quoted 4 lines
Cc David Airlie <[email protected]>
Cc Alex Deucher <[email protected]>
Cc Jerome Glisse <[email protected]>

David, Alex, can this patch be applied now?

Thanks,

Signature · 2 lines
Jean Delvare
Suse L3