powerpc: Enhance error handling with patch_instruction()
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew
- v13 patches 20 repliesSuperseded
Changes in v2 from the cover letter
- Change macro to use 'goto' instead of 'return'
- Rename macro to indicate use of 'goto'
- Convert more patch_instruction() uses in optprobes to use the new macro.
- Drop 1st patch, which added error checking in do_patch_instruction() since that is being covered in a separate patchset.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | powerpc/ftrace: Simplify error checking when patching instructionsarch/ | +60 | 0 replies | |
| 2/2 | powerpc/kprobes: Check return value of patch_instruction()arch/ arch/ | +89 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] powerpc: Enhance error handling with patch_instruction()
Changes in v2:
- Change macro to use 'goto' instead of 'return'
- Rename macro to indicate use of 'goto'
- Convert more patch_instruction() uses in optprobes to use the new macro.
- Drop 1st patch, which added error checking in do_patch_instruction() since that is being covered in a separate patchset.
v1:
http://lkml.kernel.org/r/[email protected]
- Naveen
Naveen N. Rao (2):
powerpc/ftrace: Simplify error checking when patching instructions powerpc/kprobes: Check return value of patch_instruction()
arch/powerpc/kernel/kprobes.c | 13 +++- arch/powerpc/kernel/optprobes.c | 109 +++++++++++++++++++++-------- arch/powerpc/kernel/trace/ftrace.c | 96 +++++++++++++++---------- 3 files changed, 149 insertions(+), 69 deletions(-)
base-commit: 8299da600ad05b8aa0f15ec0f5f03bd40e37d6f0
Signature · 1 line
2.25.1