[Crosstoolchain-logs] [device-tree-compiler] 28/357: Reduce message about too-long property names to a mere warning, it causes too much trouble. Still need to fix up error handling in general.

Hector Oron zumbi at moszumanska.debian.org
Thu Dec 8 17:05:45 UTC 2016


This is an automated email from the git hooks/post-receive script.

zumbi pushed a commit to branch upstream/1.3.x
in repository device-tree-compiler.

commit cba839c728b95e97d05b228bfe12ffecfae39734
Author: David Gibson <dgibson at sneetch.(none)>
Date:   Thu Oct 20 13:56:23 2005 +1000

    Reduce message about too-long property names to a mere warning, it causes
    too much trouble.  Still need to fix up error handling in general.
---
 livetree.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/livetree.c b/livetree.c
index 1db6971..5b07680 100644
--- a/livetree.c
+++ b/livetree.c
@@ -262,8 +262,8 @@ static int check_properties(struct node *node)
 
 		/* check name length */
 		if (strlen(prop->name) > MAX_PROPNAME_LEN)
-			DO_ERR("Property name %s is too long in %s\n",
-			      prop->name, node->fullpath);
+			WARNMSG("Property name %s is too long in %s\n",
+				prop->name, node->fullpath);
 			
 		/* check this property */
 		for (i = 0; i < ARRAY_SIZE(prop_checker_table); i++) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git



More information about the Crosstoolchain-logs mailing list