Lines Matching defs:error
49 bool warn, error;
63 .error = (e_), \
84 || (c->error && (quiet < 2))) {
87 (c->error) ? "ERROR" : "Warning", c->name);
130 bool error = false;
142 error = error || run_check(prq, dti);
162 if ((c->status != PASSED) && (c->error))
163 error = true;
164 return error;
894 FAIL(c, dti, node, "PCI unit address format error, expected \"%s\"",
961 FAIL(c, dti, node, "simple-bus unit address format error, expected \"%s\"",
1451 /* No error if we have any non-zero unit address */
1482 FAIL(c, dti, node, "graph node unit address error, expected \"%s\"",
1620 static void enable_warning_error(struct check *c, bool warn, bool error)
1625 if ((warn && !c->warn) || (error && !c->error))
1627 enable_warning_error(c->prereq[i], warn, error);
1630 c->error = c->error || error;
1633 static void disable_warning_error(struct check *c, bool warn, bool error)
1639 if ((warn && c->warn) || (error && c->error)) {
1646 disable_warning_error(cc, warn, error);
1651 c->error = c->error && !error;
1654 void parse_checks_option(bool warn, bool error, const char *arg)
1671 enable_warning_error(c, warn, error);
1673 disable_warning_error(c, warn, error);
1684 int error = 0;
1689 if (c->warn || c->error)
1690 error = error || run_check(c, dti);
1693 if (error) {