Re: [PATCH v3] livepatch/module: Correctly handle coming and going modules

From: Rusty Russell
Date: Wed Mar 11 2015 - 21:15:52 EST


Josh Poimboeuf <jpoimboe@xxxxxxxxxx> writes:
> The struct is statically initialized as a global variable in the module.
> So the elements not specified in the static initializer should all be
> cleared to zero by the compiler.

Yep, it's zeroed.

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/