From patchwork Fri Nov 14 10:17:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 40807 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0E793240ED for ; Fri, 14 Nov 2014 10:18:20 +0000 (UTC) Received: by mail-wg0-f70.google.com with SMTP id x13sf8916473wgg.5 for ; Fri, 14 Nov 2014 02:18:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=K/iIDmUlPN/Ggw5UOhyiTUb1CUAmiuGIVBWc9P46aDk=; b=is08Fl6vQvT4qvkE5m80cBHWeIm+goezdYEGuiJY/BFIaG5Vwnpxpxd8kfw3JimHEz 8/IdcFXBXfIPgmCmaPrGutDWjrfnyh0Wm5t5VdwjRFfpVrCd8Gsd5+mlbGPBywfBU+aK Uly1b0SabmOGcmYDCDHtIath6on2D9JvpfsHd94qwi77u3VZtHWCoa/8DN/a40Mbsvc2 rXHAho8U4KPI1ZAYsgU/8gbbyHu28EX1/LRu/R9itwvWccK6duRQOBbeKnEjbyQfYikn 5MRhbo7WTroYPyIElLqNumsfRIw4O0RbkqNr9MM//kK4mFVHR2voED5nSusmTAprElfY WmKg== X-Gm-Message-State: ALoCoQmb9B2NL8NEono698XC4RY54TA31C/yjn6mFVZzZ6Iqsks2FDli/FYrj8jU9IGCp4kIetZN X-Received: by 10.181.13.80 with SMTP id ew16mr908984wid.4.1415960299386; Fri, 14 Nov 2014 02:18:19 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.22.72 with SMTP id b8ls651946laf.2.gmail; Fri, 14 Nov 2014 02:18:19 -0800 (PST) X-Received: by 10.112.157.194 with SMTP id wo2mr7363570lbb.55.1415960299015; Fri, 14 Nov 2014 02:18:19 -0800 (PST) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id t13si41019871lal.121.2014.11.14.02.18.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 14 Nov 2014 02:18:19 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46; Received: by mail-la0-f46.google.com with SMTP id gm9so14688056lab.19 for ; Fri, 14 Nov 2014 02:18:18 -0800 (PST) X-Received: by 10.152.37.69 with SMTP id w5mr7267303laj.67.1415960298914; Fri, 14 Nov 2014 02:18:18 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp740545lbc; Fri, 14 Nov 2014 02:18:18 -0800 (PST) X-Received: by 10.229.236.197 with SMTP id kl5mr10157906qcb.31.1415960297878; Fri, 14 Nov 2014 02:18:17 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id k4si14547765qan.97.2014.11.14.02.18.16 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 14 Nov 2014 02:18:17 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XpDxH-0005ho-N6; Fri, 14 Nov 2014 10:18:15 +0000 Received: from mail-la0-f47.google.com ([209.85.215.47]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XpDxA-0005hg-Uy for lng-odp@lists.linaro.org; Fri, 14 Nov 2014 10:18:09 +0000 Received: by mail-la0-f47.google.com with SMTP id gd6so14469303lab.6 for ; Fri, 14 Nov 2014 02:18:02 -0800 (PST) X-Received: by 10.112.147.199 with SMTP id tm7mr1002489lbb.92.1415960282654; Fri, 14 Nov 2014 02:18:02 -0800 (PST) Received: from localhost.localdomain (broadband-46-188-125-121.2com.net. [46.188.125.121]) by mx.google.com with ESMTPSA id lh7sm1518049lbc.27.2014.11.14.02.18.00 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 14 Nov 2014 02:18:01 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Fri, 14 Nov 2014 13:17:55 +0300 Message-Id: <1415960275-14763-1-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.8.5.1.163.gd7aced9 X-Topics: patch Subject: [lng-odp] [PATCH] checkpatch: no cunit camelcase warnings X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: maxim.uvarov@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 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_. Signed-off-by: Maxim Uvarov --- scripts/checkpatch.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index b954de5..64ea58f 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2940,6 +2940,7 @@ sub process { if ($var !~ /$Constant/ && $var =~ /[A-Z]\w*[a-z]|[a-z]\w*[A-Z]/ && $var !~ /"^(?:Clear|Set|TestClear|TestSet|)Page[A-Z]/ && + $var !~ /CU_/ && !defined $camelcase{$var}) { $camelcase{$var} = 1; WARN("CAMELCASE",