summaryrefslogtreecommitdiff
path: root/include/asm-generic/error-injection.h
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2023-03-20 10:31:25 -0700
committerRob Clark <robdclark@chromium.org>2023-03-20 10:31:25 -0700
commite752ab11dcb48353727ea26eefd740155e028865 (patch)
treebbd47198be4e42bbf990096ca36e96f3da40cfb6 /include/asm-generic/error-injection.h
parent1844e680d56bb0c4e0489138f2b7ba2dc1c988e3 (diff)
parent8bf6e20253b2d2b614f2c0b491f840e956fa6b05 (diff)
Merge remote-tracking branch 'drm/drm-next' into msm-next
Merge drm-next into msm-next to pick up external clk and PM dependencies for improved a6xx GPU reset sequence. Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'include/asm-generic/error-injection.h')
-rw-r--r--include/asm-generic/error-injection.h7
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 \