[Accel-config] [PATCH v1 3/7] accel-config: Add 0 = "Successful completion" cmd status array

ramesh.thomas at intel.com
Newsgroups dev.linux.lists.accel-config
Message-ID <[email protected]>
From: Ramesh Thomas <ramesh.thomas(a)intel.com>

Device command status messages did not include status code 0, which is a
valid code meaning "Successful completion".

Signed-off-by: Ramesh Thomas <ramesh.thomas(a)intel.com>
---
 accfg/lib/libaccfg.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/accfg/lib/libaccfg.c b/accfg/lib/libaccfg.c
index 976d8cc..2abb4f1 100644
--- a/accfg/lib/libaccfg.c
+++ b/accfg/lib/libaccfg.c
@@ -54,6 +54,7 @@ enum {
 };
 
 const char *accfg_device_cmd_status[] = {
+	[0x0]   = "Successful completion",
 	[0x1]	= "Invalid command code",
 	[0x2]	= "Invalid WQ index",
 	[0x3]	= "Internal or platform hardware error",
-- 
2.26.2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.