checkpatch: disable short fixed size types for SOF

Do not check for u/s* vs u/sint*_t in SOF,
because there is only the longer variant.

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
This commit is contained in:
Janusz Jankowski 2019-11-04 13:48:31 +01:00
parent d88ac84e54
commit e044194844
1 changed files with 2 additions and 1 deletions

View File

@ -5952,7 +5952,8 @@ sub process {
}
# check for c99 types like uint8_t used outside of uapi/ and tools/
if ($realfile !~ m@\binclude/uapi/@ &&
if (!$SOF &&
$realfile !~ m@\binclude/uapi/@ &&
$realfile !~ m@\btools/@ &&
$line =~ /\b($Declare)\s*$Ident\s*[=;,\[]/) {
my $type = $1;