From: Johan Malm Date: Mon, 3 Jul 2023 16:04:41 +0000 (+0100) Subject: checkpatch.pl: allow xmlFree in CamelCase format X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=2bbeea0fc2e97b0229710678f0162e6e136f8f15;p=proto%2Flabwc.git checkpatch.pl: allow xmlFree in CamelCase format ...to avoid 'Avoid CamelCase' warning. --- diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index fcb838d0..51bc0a26 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -5640,6 +5640,7 @@ sub process { $var !~ /^(?:xmlReadFile|xmlDocGetRootElement)/ && $var !~ /^(?:xmlFreeDoc|xmlCleanupParser)/ && $var !~ /^(?:xmlParseMemory)/ && + $var !~ /^(?:xmlFree)/ && $var !~ /^(?:GString|GError)/ && $var !~ /^(?:XKB_KEY_XF86Switch_VT_1)/ &&