|
@@ -5560,8 +5560,9 @@ sub process {
|
|
|
"Using weak declarations can have unintended link defects\n" . $herecurr);
|
|
|
}
|
|
|
|
|
|
-# check for c99 types like uint8_t used outside of uapi/
|
|
|
+# check for c99 types like uint8_t used outside of uapi/ and tools/
|
|
|
if ($realfile !~ m@\binclude/uapi/@ &&
|
|
|
+ $realfile !~ m@\btools/@ &&
|
|
|
$line =~ /\b($Declare)\s*$Ident\s*[=;,\[]/) {
|
|
|
my $type = $1;
|
|
|
if ($type =~ /\b($typeC99Typedefs)\b/) {
|