public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] error-injection: Clarify the requirements of error injectable functions
@ 2022-12-13 14:11 Masami Hiramatsu (Google)
  2022-12-13 14:11 ` [PATCH v2 1/2] error-injection: Remove EI_ETYPE_NONE Masami Hiramatsu (Google)
  2022-12-13 14:11 ` [PATCH v2 2/2] docs: fault-injection: Add requirements of error injectable functions Masami Hiramatsu (Google)
  0 siblings, 2 replies; 4+ messages in thread
From: Masami Hiramatsu (Google) @ 2022-12-13 14:11 UTC (permalink / raw)
  To: LKML
  Cc: bpf, Borislav Petkov, Alexei Starovoitov, Steven Rostedt,
	Linus Torvalds, Masami Hiramatsu, Andrew Morton, Peter Zijlstra,
	Kees Cook, Josh Poimboeuf, KP Singh, Mark Rutland, Florent Revest,
	Greg Kroah-Hartman, Christoph Hellwig, Chris Mason,
	Jonathan Corbet, linux-doc, Akinobu Mita, Randy Dunlap

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) <mhiramat@kernel.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-12-13 21:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-13 14:11 [PATCH v2 0/2] error-injection: Clarify the requirements of error injectable functions Masami Hiramatsu (Google)
2022-12-13 14:11 ` [PATCH v2 1/2] error-injection: Remove EI_ETYPE_NONE Masami Hiramatsu (Google)
2022-12-13 14:11 ` [PATCH v2 2/2] docs: fault-injection: Add requirements of error injectable functions Masami Hiramatsu (Google)
2022-12-13 21:23   ` David Vernet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox