Propagate module notifier errors
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 4 repliesIn review
- v13 patches 12 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | notifier: Fix broken error handling patterninclude/ kernel/ kernel/ +6 more | +139 | 1 reply | |
| 2/4 | module: Fix up module_notifier return values.drivers/ kernel/ kernel/ +3 more | +13 | 1 reply | |
| 3/4 | module: Properly propagate MODULE_STATE_COMING failurekernel/ | +7 | 1 reply | |
| 4/4 | jump_label,module: Fix module lifetime for __jump_label_mod_text_reservedkernel/ | +8 | 1 reply |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Mathieu Desnoyers | Joel Fernandes (Google) | Robert Richter | Rafael J. Wysocki | Steven Rostedt (VMware) |
|---|---|---|---|---|---|
| 1/4 | A-b | ||||
| 2/4 | R-b | R-b | R-b | A-b | |
| 3/4 | |||||
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH v2 0/4] Propagate module notifier errors
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.