[PATCH v2 0/4] Propagate module notifier errors

From: Peter Zijlstra
Date: Mon Oct 07 2019 - 07:24:28 EST


These patches came from the desire to propagate MODULE_STATE_COMING errors.
While looking at that I spotted fail with a number of module notifiers
themselves and with the whole notification business.

I will probably add a notifier for MODULE_STATE_UNFORMED, but that is later.

Fixing this error propagation fixes a fairly serious (but really uncommon) bug
when memory allocation fails for jump-labels while loading a module. And since
we're going to be introducing more of that (static_call), fix it now.