From patchwork Wed Apr 1 21:46:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 46665 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 150DE2159A for ; Wed, 1 Apr 2015 21:47:03 +0000 (UTC) Received: by wgua4 with SMTP id a4sf12935348wgu.2 for ; Wed, 01 Apr 2015 14:47:02 -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: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=7hNXjMlicdOwaKoGpqmJK+/SRsMsSYsTi2GOSGe/Qew=; b=CoKPl19XgnQ4PTSCuO2+1gumnng8oQBTllvbjqhgUK8NLt7yD3JuWHmS8RDYiRwGuY fsx+5yBUE3OElIZQsVwTbKbiWPi7OUII/rUVHozfCOenNUxGpKaATRaj9z2rMkxMfv3R R8OmKQBHJdpsHnch+t453H2zmhljBSXKpVAVqUg0YLopTNJ813da/cmFcHdMGn4ejfRJ umOTtHGzRqj+l2FIA4mH+4XKk3elkSKBLPwzNf1RqXJM70nAUpo+oTGzEPg8/NcZx0CV UTVpF4SmjrOA+ggaWq/PF5Pk9iP0B56GjbJMLnZyy6u9t+LqGPmoUNri/EHcIa97h9Mj TTOg== X-Gm-Message-State: ALoCoQlWKHsyiHuRLjNuT9V+KAMZJQvFKRoOLN4X07ZhvgYPpUzXg/o7GaPFkQ1AswHZF4LeTxTP X-Received: by 10.112.201.232 with SMTP id kd8mr2221348lbc.16.1427924822184; Wed, 01 Apr 2015 14:47:02 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.5.2 with SMTP id ci2ls125154lad.38.gmail; Wed, 01 Apr 2015 14:47:01 -0700 (PDT) X-Received: by 10.112.170.100 with SMTP id al4mr37952301lbc.42.1427924821968; Wed, 01 Apr 2015 14:47:01 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id p2si2614068lag.109.2015.04.01.14.47.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Apr 2015 14:47:01 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by lajy8 with SMTP id y8so46839710laj.0 for ; Wed, 01 Apr 2015 14:47:01 -0700 (PDT) X-Received: by 10.112.8.76 with SMTP id p12mr34069294lba.29.1427924821859; Wed, 01 Apr 2015 14:47:01 -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.57.201 with SMTP id k9csp934318lbq; Wed, 1 Apr 2015 14:47:01 -0700 (PDT) X-Received: by 10.140.147.131 with SMTP id 125mr59710761qht.81.1427924820406; Wed, 01 Apr 2015 14:47:00 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 17si3161820qhs.39.2015.04.01.14.46.58; Wed, 01 Apr 2015 14:47:00 -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: by lists.linaro.org (Postfix, from userid 109) id CB11765032; Wed, 1 Apr 2015 21:46:58 +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=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=unavailable autolearn_force=no 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 60E1D65034; Wed, 1 Apr 2015 21:46:41 +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 8E27665034; Wed, 1 Apr 2015 21:46:38 +0000 (UTC) Received: from mail-qg0-f44.google.com (mail-qg0-f44.google.com [209.85.192.44]) by lists.linaro.org (Postfix) with ESMTPS id 2548165031 for ; Wed, 1 Apr 2015 21:46:25 +0000 (UTC) Received: by qgep97 with SMTP id p97so55105042qge.1 for ; Wed, 01 Apr 2015 14:46:25 -0700 (PDT) X-Received: by 10.140.80.176 with SMTP id c45mr56012553qgd.101.1427924784900; Wed, 01 Apr 2015 14:46:24 -0700 (PDT) Received: from mike-desktop.?.holmesfamily.ws (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by mx.google.com with ESMTPSA id n52sm2152273qge.39.2015.04.01.14.46.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 01 Apr 2015 14:46:24 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Wed, 1 Apr 2015 17:46:17 -0400 Message-Id: <1427924778-16755-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCH v2 1/2] scripts: odp_check: remove astyle 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: 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.215.54 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 ODP has not adopted a style that can be universally applied with a tool such as astyle. Remove astyle leaving only the cleanup for whitespace and checkpatch elements for checking src files before a patch is created. Signed-off-by: Mike Holmes --- scripts/odp_check | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/scripts/odp_check b/scripts/odp_check index 09c859b..33809dc 100755 --- a/scripts/odp_check +++ b/scripts/odp_check @@ -1,8 +1,6 @@ #!/bin/bash # -# This script is an indenter, white space remover, -# formatter, and beautifier and general source file -# clean up for the ODP project. +# This script is a clean up for the ODP project src files. # # Usage # ./scripts/opd_check @@ -10,11 +8,5 @@ set -e DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -if ! type "astyle" >/dev/null >/dev/null; then - echo "Please install astyle from http://astyle.sourceforge.net/" - exit -1 -fi - -astyle --style=linux --indent=force-tab=8 --align-pointer=name $1 $DIR/cleanfile $1 $DIR/checkpatch.pl -f $1