Files
OrangePi_CM5/include/linux
Jim Cromie 9fb48c744b params: add 3rd arg to option handler callback signature
Add a 3rd arg, named "doing", to unknown-options callbacks invoked
from parse_args(). The arg is passed as:

  "Booting kernel" from start_kernel(),
  initcall_level_names[i] from do_initcall_level(),
  mod->name from load_module(), via parse_args(), parse_one()

parse_args() already has the "name" parameter, which is renamed to
"doing" to better reflect current uses 1,2 above.  parse_args() passes
it to an altered parse_one(), which now passes it down into the
unknown option handler callbacks.

The mod->name will be needed to handle dyndbg for loadable modules,
since params passed by modprobe are not qualified (they do not have a
"$modname." prefix), and by the time the unknown-param callback is
called, the module name is not otherwise available.

Minor tweaks:

Add param-name to parse_one's pr_debug(), current message doesnt
identify the param being handled, add it.

Add a pr_info to print current level and level_name of the initcall,
and number of registered initcalls at that level.  This adds 7 lines
to dmesg output, like:

   initlevel:6=device, 172 registered initcalls

Drop "parameters" from initcall_level_names[], its unhelpful in the
pr_info() added above.  This array is passed into parse_args() by
do_initcall_level().

CC: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Acked-by: Jason Baron <jbaron@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-04-30 14:05:27 -04:00
..
…
…
…
…
2008-02-06 10:41:02 -08:00
…
…
2011-07-22 08:25:37 -07:00
…
2011-11-02 16:07:03 -07:00
…
2011-07-20 20:47:43 -04:00
…
…
…
…
…
…
…
…
…
…
2011-10-26 15:43:25 -04:00
…
…
…
…
…
…
2009-04-01 08:59:23 -07:00
…
…
…
…
…
…
…
2012-03-20 21:29:46 -04:00
2011-08-03 11:30:42 -04:00
…
…
…
…
2011-07-31 22:05:09 +02:00
…
…
2011-07-26 16:49:47 -07:00
…
…
…
…
2012-03-21 17:55:01 -07:00
…
2012-03-16 20:35:02 +00:00
2012-03-16 20:35:02 +00:00
…
…
2012-02-28 16:02:54 +01:00
…
2012-01-03 22:54:57 -05:00
…
2011-10-29 21:20:22 +02:00
…
2012-03-29 15:38:31 +10:30
…
…
…
2012-03-23 16:58:38 -07:00
…
2011-07-06 14:44:42 -07:00
2011-07-25 20:57:16 -07:00
2011-12-13 09:26:45 +00:00
…
…
2012-03-20 21:29:37 -04:00
2011-07-05 23:42:17 -07:00
2012-03-20 21:29:53 -04:00
…
2012-02-20 19:46:36 +11:00
…
…
2012-01-04 08:56:31 -06:00
…
…
2011-10-31 20:19:04 +00:00
2007-02-09 17:39:36 -05:00
…
…
…
…
…
…
…
…
2011-11-26 14:59:39 -05:00
2012-03-28 18:30:03 +01:00
…
…
2008-01-28 23:21:18 +01:00
2011-12-11 18:25:16 -05:00
…
2012-01-12 20:13:04 -08:00
2011-09-14 15:24:51 -04:00
…
…
…
…
…
…
…
…
…
…
2011-01-07 17:50:27 +11:00
2012-04-05 15:30:34 -07:00
2011-12-13 11:58:49 +01:00
…
…
2012-02-28 17:10:21 +00:00
2011-07-01 15:34:45 -07:00
…
…
…
…
…
…
…
…
…
…
2011-06-27 16:06:19 -07:00
…
…
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
…
…
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
…
…
2011-07-01 10:37:15 +02:00
…
…
…
…
…
…
…
…
2012-03-27 22:45:26 -04:00
…
…
…
…
…
…
…
…
…
…
2011-07-21 13:47:54 -07:00
…
…
…
…
…
…
…
…
…
…
2012-01-03 22:55:17 -05:00
2009-04-21 13:41:48 -07:00
…
…
…
…
…
…
…
…
…
2012-01-09 13:52:09 +01:00
…
…
2012-03-08 10:50:35 -08:00
…
…
2012-03-21 17:54:57 -07:00
2012-03-08 10:50:35 -08:00
…
…
2012-01-17 15:40:51 -08:00
…
…
…
…
2011-12-27 11:26:41 +02:00
2011-09-16 19:20:20 -04:00
…
…
…
2012-02-29 15:35:41 -06:00
…
…
…
…
…
…
…
…
2012-03-15 21:41:34 +01:00
…
…
2012-03-03 15:04:45 -05:00
…
…
…
…
…
…
2012-03-28 17:19:28 -07:00
2011-07-26 16:49:47 -07:00
2005-04-16 15:20:36 -07:00
2006-11-30 04:40:22 +01:00
…
2008-06-06 11:29:12 -07:00
…
2011-07-26 16:49:47 -07:00
…
…
…
…
…
…
…
2011-11-14 00:47:54 -05:00
2012-04-03 17:23:23 -04:00
…
…
2012-03-05 15:26:47 -05:00
…
…
…
…
…
…
…
…
…
2012-03-21 17:54:58 -07:00
2012-03-21 17:55:01 -07:00
2005-04-16 15:20:36 -07:00
2011-01-16 13:47:07 -05:00
…
2012-01-06 12:10:26 -08:00
…
…
…
…
…
…
…
…
…
2012-03-16 21:49:24 +01:00
2011-12-13 09:26:45 +00:00
…
2006-10-03 23:01:26 +02:00
2011-11-02 16:07:02 -07:00
…
2011-03-31 11:26:23 -03:00
…
…
…
2012-03-20 21:29:38 -04:00
2012-01-03 22:55:07 -05:00
2010-02-10 17:47:17 -08:00
…
…
…
…
…
…
…
2012-03-28 18:30:03 +01:00
…
…
…
…
…
…
…
2012-03-08 11:38:50 -08:00
…
2012-03-12 22:19:13 +01:00
2012-01-09 09:33:57 +09:00
2011-07-30 08:44:19 -10:00
…
2012-03-06 11:01:33 +02:00
…
…
…
2012-03-19 16:53:08 -04:00
…
…
2011-07-26 16:49:47 -07:00
…
…
2011-12-13 09:26:45 +00:00
2011-07-25 20:57:11 -07:00
…
…
…
2011-10-31 17:30:47 -07:00
2011-08-16 00:16:49 -07:00
…
…
2005-04-16 15:20:36 -07:00
2012-01-03 22:54:56 -05:00
…
…
…
…
…
…
…
…
2012-03-22 19:43:43 -07:00
…
…
…
2010-11-29 08:55:25 +11:00
…
2012-03-28 18:30:03 +01:00
…
…
…
…
…
…
…
2011-11-02 16:07:02 -07:00
…
…
…
…
…
…
…
2012-03-31 08:09:50 +05:30
2011-07-26 16:49:47 -07:00
2012-03-08 10:50:35 -08:00
…
2012-03-28 18:30:03 +01:00
…
2011-09-14 15:24:51 -04:00
…
…
…
…
…
…
…