From patchwork Tue Apr 7 17:27:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 46843 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 1CDB8214BA for ; Tue, 7 Apr 2015 17:27:36 +0000 (UTC) Received: by laat2 with SMTP id t2sf13215990laa.2 for ; Tue, 07 Apr 2015 10:27:34 -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=UxBDB81mRtZxqN9LZW8LOTwVG7T2INK6tC4ejYLeshuR5aOeF+lJ1O0HNCXEjexrL1 ScxxUctuq9hZsfAmT5O73+uhWHCFbcObFhukR9FiI/RwyfoGE2Osrgh0baJVN7xNGXTi PPMErXbLnksVhL4L/45eZLYeYRUDFHBkMMi3BOtaCvNxoNLPU81okDSKIpefH4q8D27e 0orJqx4SEHMPYWpRZ07qX3gwLailYdRWQGX50mNoHbW9plecaoo0Q9P1LvQO8rrywxa9 NTAeie2CQVRYl1tyrL0amKgcN/aQckVSpJdKmgerB/Vb2NurPNPL0Xq4CZZHYLx/XVRd YZhw== X-Gm-Message-State: ALoCoQlfBxrfmBuq7RZWkk72fpUPFI1UwJnykIJvnIgavUpxbtgxZz7WaNKg1eRfSZQBQExc4RAM X-Received: by 10.180.211.168 with SMTP id nd8mr670944wic.4.1428427654707; Tue, 07 Apr 2015 10:27:34 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.163 with SMTP id r3ls80321laj.70.gmail; Tue, 07 Apr 2015 10:27:34 -0700 (PDT) X-Received: by 10.152.179.68 with SMTP id de4mr19405410lac.65.1428427654472; Tue, 07 Apr 2015 10:27:34 -0700 (PDT) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com. [209.85.215.42]) by mx.google.com with ESMTPS id d1si6602348laa.39.2015.04.07.10.27.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Apr 2015 10:27:34 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) client-ip=209.85.215.42; Received: by lagv1 with SMTP id v1so47593152lag.3 for ; Tue, 07 Apr 2015 10:27:34 -0700 (PDT) X-Received: by 10.112.141.202 with SMTP id rq10mr19360621lbb.88.1428427654321; Tue, 07 Apr 2015 10:27:34 -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.67.65 with SMTP id l1csp560033lbt; Tue, 7 Apr 2015 10:27:33 -0700 (PDT) X-Received: by 10.140.19.209 with SMTP id 75mr4644956qgh.24.1428427652866; Tue, 07 Apr 2015 10:27:32 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id dr2si8076829qcb.10.2015.04.07.10.27.32; Tue, 07 Apr 2015 10:27:32 -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 1CB1364F2B; Tue, 7 Apr 2015 17:27:32 +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_H3, RCVD_IN_MSPIKE_WL, 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 2413364F24; Tue, 7 Apr 2015 17:27:16 +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 AC07364F22; Tue, 7 Apr 2015 17:27:12 +0000 (UTC) Received: from mail-qk0-f180.google.com (mail-qk0-f180.google.com [209.85.220.180]) by lists.linaro.org (Postfix) with ESMTPS id D123E64DAC for ; Tue, 7 Apr 2015 17:27:10 +0000 (UTC) Received: by qkgx75 with SMTP id x75so56176031qkg.1 for ; Tue, 07 Apr 2015 10:27:10 -0700 (PDT) X-Received: by 10.55.26.29 with SMTP id a29mr40765753qka.0.1428427630520; Tue, 07 Apr 2015 10:27:10 -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 i185sm5769856qhc.18.2015.04.07.10.27.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Apr 2015 10:27:09 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Tue, 7 Apr 2015 13:27:03 -0400 Message-Id: <1428427624-27075-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCH v3 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.42 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