diff options
author | Maxim Uvarov <maxim.uvarov@linaro.org> | 2014-11-14 21:16:07 +0300 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2015-05-14 14:38:43 +0300 |
commit | 16758a0774a021676560466a529c1299fd040602 (patch) | |
tree | 938ed461e635d170fb10212fba718e3816d9f3e5 /scripts | |
parent | 9118abb264ded274648a567ba158017e3c363d09 (diff) |
checkpatch: remove cunit warnings
Take CU init commit.
CUnit names all it's functions with CU_. For check patch is
is camelcase, which is not proper odp syntax. This patch
turns off camelcase warnings for functions/types beginning
with CU_.
Reviewed-by: Mike Holmes <mike.holmes@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Conflicts:
scripts/checkpatch.pl
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/checkpatch.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 89b1df4..b5e8c93 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -4252,6 +4252,7 @@ sub process { #Ignore SI style variants like nS, mV and dB (ie: max_uV, regulator_min_uA_show) $var !~ /^(?:[a-z_]*?)_?[a-z][A-Z](?:_[a-z_]+)?$/ && #Ignore some three character SI units explicitly, like MiB and KHz + $var !~ /\bCU_/ && $var !~ /^(?:[a-z_]*?)_?(?:[KMGT]iB|[KMGT]?Hz)(?:_[a-z_]+)?$/) { while ($var =~ m{($Ident)}g) { my $word = $1; |