Re: [PATCH] dmi: Let dmi_walk() users pass private data
From: Andrew Morton
Date: Tue Feb 03 2009 - 03:43:25 EST
On Sun, 1 Feb 2009 22:46:59 +0100 Jean Delvare <khali@xxxxxxxxxxxx> wrote:
> At the moment, dmi_walk() lacks flexibility, users can't pass data to
> the callback function. Add a pointer for private data to make this
> function more flexible.
That new argument is sometimes called "priv", other times called "data"
and other times called "dummy". It would be good to come up with a nice
meaningful name and stick to it.
(The "dummy" thing probably makes sense, as long as people think to
rename it to the chosen identifier if they later actually use it for
something).
--
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/