[Cocci] [PATCH v2 2/7] module: add extra argument for parse_params() callback

Rusty Russell rusty at rustcorp.com.au
Wed Oct 15 07:35:00 CEST 2014

"Luis R. Rodriguez" <mcgrof at do-not-panic.com> writes:
> From: "Luis R. Rodriguez" <mcgrof at suse.com>
> This adds an extra argument onto parse_params() to be used
> as a way to make the unused callback a bit more useful and
> generic by allowing the caller to pass on a data structure
> of its choice. An example use case is to allow us to easily
> make module parameters for every module which we will do
> next.

Acked-by: Rusty Russell <rusty at rustcorp.com.au>


More information about the Cocci mailing list