Skip to content

error-injection: Clarify the requirements of error injectable functions

Masami Hiramatsu (Google) bpf linux-doc lkml 2 versions – In review

Get series with b4
b4 am 167094067084.608798.11303550366840600235.stgit@devnote3

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 3 repliesApplied 2/2

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2error-injection: Remove EI_ETYPE_NONEinclude/asm-generic/error-injection.h include/linux/error-injection.h lib/error-inject.c+3 -30 replies
2/2docs: fault-injection: Add requirements of error injectable functionsDocumentation/fault-injection/fault-injection.rst include/asm-generic/error-injection.h+69 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] error-injection: Clarify the requirements of error injectable functions

Hi,

Here is the 2nd version of the series to clarify the requirement of error injectable functions and remove confusing EI_ETYPE_NONE.

Here is the thread of discussions which leads this series.

https://lore.kernel.org/all/167019256481.3792653.4369637751468386073.stgit@devnote3/T/#u

I agreed that NACK the taint flag itself, and I thought I need to update the function error injection so that the developers understand the requirements and carefully use the ALLOW_ERROR_INJECTION() macro. So I removed the confusing EI_ETYPE_NONE (this should not be there, use errno instead), and update the document about error injectable functions.

Thank you,

---

Masami Hiramatsu (Google) (2):
error-injection: Remove EI_ETYPE_NONE
docs: fault-injection: Add requirements of error injectable functions

 Documentation/fault-injection/fault-injection.rst |   65 +++++++++++++++++++++
 include/asm-generic/error-injection.h             |    7 +-
 include/linux/error-injection.h                   |    3 +
 lib/error-inject.c                                |    2 -
 4 files changed, 72 insertions(+), 5 deletions(-)

--
Masami Hiramatsu (Google) <[email protected]>