From patchwork Wed May 13 10:49:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 48423 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3D1E72121F for ; Wed, 13 May 2015 10:50:20 +0000 (UTC) Received: by labgx2 with SMTP id gx2sf8961795lab.1 for ; Wed, 13 May 2015 03:50:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:content-type:content-transfer-encoding:errors-to :sender:x-original-sender:x-original-authentication-results :mailing-list; bh=njCjb5nFfE/Xamv47/qJd1z8L8dEBQG2LyYQNuoVAX0=; b=I/KzJ1n+pd6cNHnzVM+55CeETk/QIKuladqf3NbEpMV6GVwARzskYWHamDi3GQtird uJvY0z3Xx2EUxlywoVCZEJgrQrhqB3bP7G79s4aEO76XbkIkjTdeXTMbKbKg5+HvQbpJ RuR6alk0dasxf+EWzHa/8L+KXYtBXSS+gRMA4xTyfLmDdlii1KMt1+nI/rlzRFCh+Q8j 2FzZ2QysfcP5M56esS3G9LytTTf7cV6B2xflDbs3BvwkcL422vT5HuMjxkoOx5/emRBF GMj5zDU1HFqCJE7bZQjNvtvbZVMqy0QiFvvG2+qCqVBBrAWLpr2kcdNtjF+fZ5JrDcqK bZTQ== X-Gm-Message-State: ALoCoQlBY6nJTKVzZj1RrU2TBDkB+8IzajZgApV4v5z31mjKRS7jJUAuGJ5ilt6p/UUgv6VbJgza X-Received: by 10.112.51.68 with SMTP id i4mr13832015lbo.13.1431514219168; Wed, 13 May 2015 03:50:19 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.184.8 with SMTP id eq8ls217078lac.91.gmail; Wed, 13 May 2015 03:50:19 -0700 (PDT) X-Received: by 10.112.42.16 with SMTP id j16mr2748653lbl.98.1431514219010; Wed, 13 May 2015 03:50:19 -0700 (PDT) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id y5si12119333lay.123.2015.05.13.03.50.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 May 2015 03:50:18 -0700 (PDT) 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 laat2 with SMTP id t2so26313139laa.1 for ; Wed, 13 May 2015 03:50:18 -0700 (PDT) X-Received: by 10.152.36.161 with SMTP id r1mr15597460laj.88.1431514218880; Wed, 13 May 2015 03:50:18 -0700 (PDT) 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.108.230 with SMTP id hn6csp450868lbb; Wed, 13 May 2015 03:50:18 -0700 (PDT) X-Received: by 10.140.195.73 with SMTP id q70mr27109987qha.70.1431514217619; Wed, 13 May 2015 03:50:17 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id g65si18957325qkh.108.2015.05.13.03.50.16; Wed, 13 May 2015 03:50:17 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Received: by lists.linaro.org (Postfix, from userid 109) id DB68C61E2D; Wed, 13 May 2015 10:50:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_WEB, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 842E061C80; Wed, 13 May 2015 10:49:45 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 18F0F61C72; Wed, 13 May 2015 10:49:37 +0000 (UTC) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com [209.85.215.42]) by lists.linaro.org (Postfix) with ESMTPS id 5120F61B14 for ; Wed, 13 May 2015 10:49:32 +0000 (UTC) Received: by layy10 with SMTP id y10so26294416lay.0 for ; Wed, 13 May 2015 03:49:30 -0700 (PDT) X-Received: by 10.152.8.231 with SMTP id u7mr15249816laa.37.1431514170558; Wed, 13 May 2015 03:49:30 -0700 (PDT) Received: from localhost.localdomain (ppp91-76-165-85.pppoe.mtu-net.ru. [91.76.165.85]) by mx.google.com with ESMTPSA id 7sm4837797lax.44.2015.05.13.03.49.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 May 2015 03:49:29 -0700 (PDT) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Wed, 13 May 2015 13:49:20 +0300 Message-Id: <1431514161-19352-3-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1431514161-19352-1-git-send-email-maxim.uvarov@linaro.org> References: <1431514161-19352-1-git-send-email-maxim.uvarov@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 2/3] checkpatch: remove cunit warnings X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 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" 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 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 Signed-off-by: Maxim Uvarov Signed-off-by: Maxim Uvarov Conflicts: scripts/checkpatch.pl --- scripts/checkpatch.pl | 1 + 1 file changed, 1 insertion(+) 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;