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.
This commit is contained in:
parent
1847d161dc
commit
cba839c728
1 changed files with 2 additions and 2 deletions
|
@ -262,8 +262,8 @@ static int check_properties(struct node *node)
|
||||||
|
|
||||||
/* check name length */
|
/* check name length */
|
||||||
if (strlen(prop->name) > MAX_PROPNAME_LEN)
|
if (strlen(prop->name) > MAX_PROPNAME_LEN)
|
||||||
DO_ERR("Property name %s is too long in %s\n",
|
WARNMSG("Property name %s is too long in %s\n",
|
||||||
prop->name, node->fullpath);
|
prop->name, node->fullpath);
|
||||||
|
|
||||||
/* check this property */
|
/* check this property */
|
||||||
for (i = 0; i < ARRAY_SIZE(prop_checker_table); i++) {
|
for (i = 0; i < ARRAY_SIZE(prop_checker_table); i++) {
|
||||||
|
|
Loading…
Reference in a new issue