From patchwork Wed Aug 20 19:23:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 35713 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f69.google.com (mail-pa0-f69.google.com [209.85.220.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B20E32055D for ; Wed, 20 Aug 2014 19:23:45 +0000 (UTC) Received: by mail-pa0-f69.google.com with SMTP id kx10sf67348055pab.8 for ; Wed, 20 Aug 2014 12:23:43 -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: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=8ABaGOqIrboC1zF3e7K6vAQzUkCxM7yIrI5IwO9QHRg=; b=i4Disa4ESJbonR3Anwstl948tLLhr5eHf6Z19KQlnLsaVygTWem2rmhesozblmLB5t Cj7P3bG+FYT1FSdWAyzD6rVObU0EajkZ5BoZQDPY+4Gibl1wyb87vc0s/79snIRzd57z j1QegDE6/zqb7deLYhUGVjD/3jCRntkPQFlV2CBZKAjxIA7ffUjyxNab+wi2h+AGs91H +vY9vqpC6nja+AKHqwV62PShpdaovKnLNpKyjMZ4na/6q20v0Spmrg0BC2kHTrRmXGBY awp/lyfFAVX84S2XruisXfD17KPgylJjmIPVMj7UyC2fKhrzePzV1dC5OjQyxs+iNcLR gQkg== X-Gm-Message-State: ALoCoQn0oYIrLWHSGUMItGzKlG/KqAWOB+AYl3LStfrNVnAx4NN1x13yxlggAL9nL3UCugrnqPe8 X-Received: by 10.66.235.66 with SMTP id uk2mr8217110pac.39.1408562623861; Wed, 20 Aug 2014 12:23:43 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.101.6 with SMTP id t6ls397185qge.32.gmail; Wed, 20 Aug 2014 12:23:43 -0700 (PDT) X-Received: by 10.52.162.74 with SMTP id xy10mr428216vdb.51.1408562623644; Wed, 20 Aug 2014 12:23:43 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id lo15si10096481vdb.13.2014.08.20.12.23.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 20 Aug 2014 12:23:43 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.169 as permitted sender) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id le20so9728208vcb.14 for ; Wed, 20 Aug 2014 12:23:43 -0700 (PDT) X-Received: by 10.220.81.132 with SMTP id x4mr10158641vck.0.1408562623534; Wed, 20 Aug 2014 12:23:43 -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.221.45.67 with SMTP id uj3csp78085vcb; Wed, 20 Aug 2014 12:23:43 -0700 (PDT) X-Received: by 10.229.131.5 with SMTP id v5mr76323203qcs.21.1408562623038; Wed, 20 Aug 2014 12:23:43 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id k61si35390406qgk.48.2014.08.20.12.23.41 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 20 Aug 2014 12:23:41 -0700 (PDT) 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-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XKBTu-0006zW-Jn; Wed, 20 Aug 2014 19:23:38 +0000 Received: from mail-qa0-f52.google.com ([209.85.216.52]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XKBTp-0006zR-1E for lng-odp@lists.linaro.org; Wed, 20 Aug 2014 19:23:33 +0000 Received: by mail-qa0-f52.google.com with SMTP id j15so7301935qaq.39 for ; Wed, 20 Aug 2014 12:23:27 -0700 (PDT) X-Received: by 10.224.80.65 with SMTP id s1mr80201431qak.41.1408562607355; Wed, 20 Aug 2014 12:23:27 -0700 (PDT) Received: from fedora1.holmesfamily.ws (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by mx.google.com with ESMTPSA id n20sm42064604qar.38.2014.08.20.12.23.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Aug 2014 12:23:26 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Wed, 20 Aug 2014 15:23:07 -0400 Message-Id: <1408562587-21737-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Subject: [lng-odp] [PATCH] odp_check: align pointer with name 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: mike.holmes@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.220.169 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 Signed-off-by: Mike Holmes Reviewed-by: Anders Roxell --- Have astyle format functions to satisfy checkpatch so that the following: char* foo1; char & foo2; String ^s1; becomes (with align-pointer=name): char *foo1; char &foo2; String ^s1; scripts/odp_check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/odp_check b/scripts/odp_check index 8df35fa..09c859b 100755 --- a/scripts/odp_check +++ b/scripts/odp_check @@ -15,6 +15,6 @@ if ! type "astyle" >/dev/null >/dev/null; then exit -1 fi -astyle --style=linux --indent=force-tab=8 $1 +astyle --style=linux --indent=force-tab=8 --align-pointer=name $1 $DIR/cleanfile $1 $DIR/checkpatch.pl -f $1