On Wed, Oct 17, 2012 at 10:36:12PM +0200, Borislav Petkov wrote: > On Wed, Oct 17, 2012 at 01:29:00PM -0700, Greg Kroah-Hartman wrote: > > Take the function already from the module code, it should be reusable, > > if not, it would be a good idea to make it so. > > Function from module code? Do you mean param_get_bool/param_set_bool in > kernel/params.c?
Yes, that's what I was thinking of, but I guess it just comes down to a call to strtobool(), which is what you need here. greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/