Blame SOURCES/0001-Add-error-message-for-new-ISCSI_ERR_NOP_TIMEDOUT.patch

3d2430
From 6b5eb1008e593d7cadbc4165ee6978d8d2ff4f76 Mon Sep 17 00:00:00 2001
3d2430
From: Lee Duncan <lduncan@suse.com>
3d2430
Date: Thu, 12 Apr 2018 18:17:00 -0700
3d2430
Subject: [PATCH 1/1] Add error message for new ISCSI_ERR_NOP_TIMEDOUT
3d2430
3d2430
This new error enum was added with commit 5c654fcc617a,
3d2430
but it needs to be added to kern_err_table as well.
3d2430
---
3d2430
 usr/kern_err_table.c | 2 ++
3d2430
 1 file changed, 2 insertions(+)
3d2430
3d2430
diff --git a/usr/kern_err_table.c b/usr/kern_err_table.c
3d2430
index a6ea8fb..8af6f05 100644
3d2430
--- a/usr/kern_err_table.c
3d2430
+++ b/usr/kern_err_table.c
3d2430
@@ -77,6 +77,8 @@ const char *kern_err_code_to_string(int err)
3d2430
 	case ISCSI_ERR_SCSI_EH_SESSION_RST:
3d2430
 		return "ISCSI_ERR_SCSI_EH_SESSION_RST: Session was dropped as "
3d2430
 			"a result of SCSI error recovery";
3d2430
+	case ISCSI_ERR_NOP_TIMEDOUT:
3d2430
+		return "ISCSI_ERR_NOP_TIMEDOUT: A NOP has timed out";
3d2430
 	default:
3d2430
 		return "Invalid or unknown error code";
3d2430
 	}
3d2430
-- 
3d2430
2.21.0
3d2430