mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Neverending module_param() bugs
@ 2006-08-12 21:47 Alexey Dobriyan
  2006-08-13  0:54 ` Mauro Carvalho Chehab
  2006-08-29 17:06 ` [PATCH][SBC8360] " Ian E. Morgan
  0 siblings, 2 replies; 5+ messages in thread
From: Alexey Dobriyan @ 2006-08-12 21:47 UTC (permalink / raw)
  To: Andrew Morton
  Cc: linux-kernel, Len Brown, Ian E. Morgan, Mauro Carvalho Chehab

Can someone think of a way to explicitly tell driver author that last
argument of module_param is PERMISSIONS, not default value? It's late
here I can't. Preferably resulting in compilation failure.

drivers/acpi/sbs.c:101:module_param(capacity_mode, int, CAPACITY_UNIT);
drivers/acpi/sbs.c:102:module_param(update_mode, int, UPDATE_MODE);
drivers/acpi/sbs.c:103:module_param(update_info_mode, int, UPDATE_INFO_MODE);
drivers/acpi/sbs.c:104:module_param(update_time, int, UPDATE_TIME);
drivers/acpi/sbs.c:105:module_param(update_time2, int, UPDATE_TIME2);
drivers/char/watchdog/sbc8360.c:203:module_param(timeout, int, 27);

P.S.: drivers/media/video/tuner-simple.c:13:module_param(offset, int, 0666);
								      ^^^^


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

end of thread, other threads:[~2006-08-29 17:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-12 21:47 Neverending module_param() bugs Alexey Dobriyan
2006-08-13  0:54 ` Mauro Carvalho Chehab
2006-08-13  2:19   ` Jan-Benedict Glaw
2006-08-13  6:01     ` Mauro Carvalho Chehab
2006-08-29 17:06 ` [PATCH][SBC8360] " Ian E. Morgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®