1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-08-31 16:22:36 +02:00
of-platdata: better phandle and compatible-string support
patman support for Python3 on Ubuntu 14.04
new checkpatch check to avoid #ifdefs
This commit is contained in:
Tom Rini
2020-07-10 16:22:57 -04:00
95 changed files with 1030 additions and 313 deletions

View File

@@ -2343,7 +2343,7 @@ sub u_boot_line {
}
# use if instead of #if
if ($line =~ /^\+#if.*CONFIG.*/) {
if ($realfile =~ /\.c$/ && $line =~ /^\+#if.*CONFIG.*/) {
WARN("PREFER_IF",
"Use 'if (IS_ENABLED(CONFIG...))' instead of '#if or #ifdef' where possible\n" . $herecurr);
}