diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2023-05-01 15:20:08 -0700 | 
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2023-05-01 15:20:08 -0700 | 
| commit | 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e (patch) | |
| tree | d57f3a63479a07b4e0cece029886e76e04feb984 /include/asm-generic/error-injection.h | |
| parent | 5dc63e56a9cf8df0b59c234a505a1653f1bdf885 (diff) | |
| parent | 53bea86b5712c7491bb3dae12e271666df0a308c (diff) | |
Merge branch 'next' into for-linus
Prepare input updates for 6.4 merge window.
Diffstat (limited to 'include/asm-generic/error-injection.h')
| -rw-r--r-- | include/asm-generic/error-injection.h | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/include/asm-generic/error-injection.h b/include/asm-generic/error-injection.h index fbca56bd9cbc..b05253f68eaa 100644 --- a/include/asm-generic/error-injection.h +++ b/include/asm-generic/error-injection.h @@ -4,7 +4,6 @@  #if defined(__KERNEL__) && !defined(__ASSEMBLY__)  enum { -	EI_ETYPE_NONE,		/* Dummy value for undefined case */  	EI_ETYPE_NULL,		/* Return NULL if failure */  	EI_ETYPE_ERRNO,		/* Return -ERRNO if failure */  	EI_ETYPE_ERRNO_NULL,	/* Return -ERRNO or NULL if failure */ @@ -20,8 +19,10 @@ struct pt_regs;  #ifdef CONFIG_FUNCTION_ERROR_INJECTION  /* - * Whitelist generating macro. Specify functions which can be - * error-injectable using this macro. + * Whitelist generating macro. Specify functions which can be error-injectable + * using this macro. If you unsure what is required for the error-injectable + * functions, please read Documentation/fault-injection/fault-injection.rst + * 'Error Injectable Functions' section.   */  #define ALLOW_ERROR_INJECTION(fname, _etype)				\  static struct error_injection_entry __used				\  | 
