We have an 80 char limit that is frequently an issue for strings and we
just accept that we ignore the warning.

Allow split strings so that there is a valid alternative
Thus the following example becomes a legal alternative to the > 80 chars
warning.

printf("\nThread %u (id=%d core=%d) had %u sync_failures"
       " in %u iterations\n", thread_num,
       .....

Signed-off-by: Mike Holmes <[email protected]>
---
 .checkpatch.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.checkpatch.conf b/.checkpatch.conf
index 9076410..a063213 100644
--- a/.checkpatch.conf
+++ b/.checkpatch.conf
@@ -2,3 +2,4 @@
 --strict
 --ignore=NEW_TYPEDEFS
 --ignore=DEPRECATED_VARIABLE
+--ignore=SPLIT_STRING
-- 
2.1.0

_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to