module parameter description fix
Subsystems (3)
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:
drivers/gpu/drm/nouveau/nouveau_drv.c +2 -2
@@ -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
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): add883141002252123l424a4095x79f9551726dc5266-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Quoted 29 lines · Tavian Barnes
Quoted 28 lines · soulpatch
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:drivers/gpu/drm/nouveau/nouveau_drv.c +2
-2@@ -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
Quoted 8 lines
Quoted 5 lines
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveauLooks like
933236b4a6ae9cb917f80ef1effe964323d7f25ajust fixed this yesterday.
Yeah, I fixed it yesterday too. I guess I should have done another pull before generating the diff today. Glad it got fixed though.
soulpatch