Message ID | 20240930133724.610512-2-przemyslaw.kitszel@intel.com (mailing list archive) |
---|---|
State | Awaiting Upstream |
Headers | show |
Series | ice: add support for devlink health events | expand |
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 4427572b2477..29b510ddd83c 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -5848,6 +5848,8 @@ sub process { #CamelCase if ($var !~ /^$Constant$/ && $var =~ /[A-Z][a-z]|[a-z][A-Z]/ && +#Ignore C keywords + $var !~ /^_Generic$/ && #Ignore some autogenerated defines and enum values $var !~ /^(?:[A-Z]+_){1,5}[A-Z]{1,3}[a-z]/ && #Ignore Page<foo> variants