[LTP] [PATCH v2 1/3] doc: Add LTP-005: Array must be sentinel terminated
Richard Palethorpe
rpalethorpe@suse.com
Tue Dec 7 11:29:02 CET 2021
Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com>
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
---
V2:
* Don't allow {NULL, NULL}, {0}, etc.
* The above resulted in two errors
being detected which are fixed in patch 3
doc/rules.tsv | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/rules.tsv b/doc/rules.tsv
index 2dfeca9f9..66dbdeccf 100644
--- a/doc/rules.tsv
+++ b/doc/rules.tsv
@@ -3,3 +3,4 @@ LTP-001 Library source files have tst_ prefix
LTP-002 TST_RET and TST_ERR are never modified by test library functions
LTP-003 Externally visible library symbols have the tst_ prefix
LTP-004 Test executable symbols are marked static
+LTP-005 Array must terminate with a sentinel value (i.e. NULL or '{}')
--
2.34.0
More information about the ltp
mailing list