dtc update

This commit is contained in:
Phil Elwell
2023-12-01 15:59:45 +00:00
committed by Dom Cobley
parent 51b62f44ab
commit 0ed7129885

View File

@@ -724,7 +724,7 @@ static void check_alias_paths(struct check *c, struct dt_info *dti,
continue; continue;
} }
if (strspn(prop->name, LOWERCASE DIGITS "-") != strlen(prop->name)) if (strspn(prop->name, LOWERCASE DIGITS "-") != strlen(prop->name))
FAIL(c, dti, node, "aliases property name must include only lowercase and '-'"); FAIL(c, dti, node, "aliases property name (%s) must include only lowercase and '-'", prop->name);
} }
} }
WARNING(alias_paths, check_alias_paths, NULL); WARNING(alias_paths, check_alias_paths, NULL);