VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Barnabás Pőcze <pobrn@protonmail.com> 2020-12-15 20:47:10 -0800 committer: Linus Torvalds <torvalds@linux-foundation.org> 2020-12-15 22:46:19 -0800 commit: 537cd89484ab57ca38ae25d9557361c0815977d1 parent: 40247e55ba099067bf160332365ed78b5aeb62da
Commit Summary:
fault-injection: handle EI_ETYPE_TRUE
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/lib/error-inject.c b/lib/error-inject.c
index aa63751c916f..c73651b15b76 100644
--- a/lib/error-inject.c
+++ b/lib/error-inject.c
@@ -180,6 +180,8 @@ static const char *error_type_string(int etype)
 		return "ERRNO";
 	case EI_ETYPE_ERRNO_NULL:
 		return "ERRNO_NULL";
+	case EI_ETYPE_TRUE:
+		return "TRUE";
 	default:
 		return "(unknown)";
 	}