All of lore.kernel.org
 help / color / mirror / Atom feed
* module parameter description fix
@ 2010-02-26  4:36 soulpatch
       [not found] ` <add883141002252123l424a4095x79f9551726dc5266@mail.gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: soulpatch @ 2010-02-26  4:36 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

I found a bug in the nouveau kernel module. It looks like a cut and
paste error on the definitions of some module parameters in
nouveau_drv.c. The bug exhibits when displaying module parameter
information with the modinfo utility. Here's a patch:

diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.c b/drivers/gpu/drm/nouveau/nouveau_drv.c
index da3b93b..874adf5 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drv.c
+++ b/drivers/gpu/drm/nouveau/nouveau_drv.c
@@ -75,11 +75,11 @@ MODULE_PARM_DESC(ignorelid, "Ignore ACPI lid status");
 int nouveau_ignorelid = 0;
 module_param_named(ignorelid, nouveau_ignorelid, int, 0400);
 
-MODULE_PARM_DESC(noagp, "Disable all acceleration");
+MODULE_PARM_DESC(noaccel, "Disable all acceleration");
 int nouveau_noaccel = 0;
 module_param_named(noaccel, nouveau_noaccel, int, 0400);
 
-MODULE_PARM_DESC(noagp, "Disable fbcon acceleration");
+MODULE_PARM_DESC(nofbaccel, "Disable fbcon acceleration");
 int nouveau_nofbaccel = 0;
 module_param_named(nofbaccel, nouveau_nofbaccel, int, 0400);
 

Cheers,
	soulpatch

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-26  5:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-26  4:36 module parameter description fix soulpatch
     [not found] ` <add883141002252123l424a4095x79f9551726dc5266@mail.gmail.com>
     [not found]   ` <add883141002252123l424a4095x79f9551726dc5266-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-02-26  5:31     ` soulpatch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.