[lkml]   [2022]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/2] error-injection: Clarify the requirements of error injectable functions

Here are the patches for clarifying the requirement of error injectable
functions and remove confusing EI_ETYPE_NONE.

Here is the thread of discussions which leads this series.

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

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 | 2 -
lib/error-inject.c | 2 -
4 files changed, 71 insertions(+), 5 deletions(-)

Masami Hiramatsu (Google) <>

 \ /
  Last update: 2022-12-12 03:47    [W:0.097 / U:1.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site