Lines Matching defs:error
35 bool warn, error;
49 .error = (e_), \
71 if (!(c->warn && (quiet < 1)) && !(c->error && (quiet < 2)))
90 (c->error) ? "ERROR" : "Warning", c->name);
149 bool error = false;
161 error = error || run_check(prq, dti);
181 if ((c->status != PASSED) && (c->error))
182 error = true;
183 return error;
920 FAIL(c, dti, node, "PCI unit address format error, expected \"%s\"",
988 FAIL(c, dti, node, "simple-bus unit address format error, expected \"%s\"",
1052 FAIL(c, dti, node, "I2C bus unit address format error, expected \"%s\"",
1141 FAIL(c, dti, node, "SPI bus unit address format error, expected \"%s\"",
1693 /* No error if we have any non-zero unit address */
1724 FAIL(c, dti, node, "graph node unit address error, expected \"%s\"",
1870 static void enable_warning_error(struct check *c, bool warn, bool error)
1875 if ((warn && !c->warn) || (error && !c->error))
1877 enable_warning_error(c->prereq[i], warn, error);
1880 c->error = c->error || error;
1883 static void disable_warning_error(struct check *c, bool warn, bool error)
1889 if ((warn && c->warn) || (error && c->error)) {
1896 disable_warning_error(cc, warn, error);
1901 c->error = c->error && !error;
1904 void parse_checks_option(bool warn, bool error, const char *arg)
1921 enable_warning_error(c, warn, error);
1923 disable_warning_error(c, warn, error);
1934 int error = 0;
1939 if (c->warn || c->error)
1940 error = error || run_check(c, dti);
1943 if (error) {