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

From: Rusty Russell
Date: Wed Oct 15 2014 - 02:32:54 EST


"Luis R. Rodriguez" <mcgrof@xxxxxxxxxxxxxxxx> writes:
> From: "Luis R. Rodriguez" <mcgrof@xxxxxxxx>
>
> 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@xxxxxxxxxxxxxxx>

Cheers,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/