Lines Matching defs:good
23 const struct fdt_property *good, *bad;
32 good = fdt_get_property_by_offset(fdt, off, NULL);
37 if (fdt32_to_cpu(good->len) != 0)
38 FAIL("Unexpected length for good property");
39 name = fdt_get_string(fdt, fdt32_to_cpu(good->nameoff), &len);
41 FAIL("fdt_get_string() failed on good property: %s",
44 FAIL("fdt_get_string() returned length %d (not 4) on good property",
46 if (!streq(name, "good"))
47 FAIL("fdt_get_string() returned \"%s\" (not \"good\") on good property",
59 /* Make sure the 'good' property breaks correctly if we
61 fdt_set_size_dt_strings(fdt, fdt32_to_cpu(good->nameoff) + 4);
62 name = fdt_get_string(fdt, fdt32_to_cpu(good->nameoff), &len);