mirror of https://github.com/thesofproject/sof.git
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:
parent
d88ac84e54
commit
e044194844
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue