[spp] [PATCH] shared/sec: fix comment of order of port ability

yasufum.o at gmail.com yasufum.o at gmail.com
Mon Jun 24 08:21:22 CEST 2019


From: Yasufumi Ogawa <yasufum.o at gmail.com>

The order of members of enum `sppwk_port_abl_ops` should be the same as
`PORT_ABILITY_STAT_LIST` and it is described as comment, but the name of
enum is different. This update is to correct the name to
`sppwk_port_abl_ops`.

Signed-off-by: Yasufumi Ogawa <yasufum.o at gmail.com>
---
 src/shared/secondary/spp_worker_th/cmd_res_formatter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/shared/secondary/spp_worker_th/cmd_res_formatter.c b/src/shared/secondary/spp_worker_th/cmd_res_formatter.c
index 21024b9..9c0c873 100644
--- a/src/shared/secondary/spp_worker_th/cmd_res_formatter.c
+++ b/src/shared/secondary/spp_worker_th/cmd_res_formatter.c
@@ -35,7 +35,7 @@ const char *SPPWK_PROC_TYPE_LIST[] = {
 
 /**
  * List of port abilities. The order of items should be same as the order of
- * enum `spp_port_ability_type` in spp_vf.h.
+ * enum `sppwk_port_abl_ops` in spp_vf.h.
  */
 const char *PORT_ABILITY_STAT_LIST[] = {
 	"none",
-- 
2.17.1



More information about the spp mailing list