From patchwork Sun Dec 30 15:53:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julia Lawall X-Patchwork-Id: 10745139 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A4CFD13A4 for ; Sun, 30 Dec 2018 16:40:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 90453289A6 for ; Sun, 30 Dec 2018 16:40:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 82E3528AB3; Sun, 30 Dec 2018 16:40:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3AB6A289A6 for ; Sun, 30 Dec 2018 16:40:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0D02C6E3A0; Sun, 30 Dec 2018 16:40:11 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by gabe.freedesktop.org (Postfix) with ESMTPS id 48C556E3A0; Sun, 30 Dec 2018 16:40:07 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.56,417,1539640800"; d="scan'208";a="290435977" Received: from palace.rsr.lip6.fr (HELO palace.lip6.fr) ([132.227.105.202]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/AES128-SHA256; 30 Dec 2018 17:29:57 +0100 From: Julia Lawall To: freedreno@lists.freedesktop.org Subject: [PATCH 0/8] reduce indentation Date: Sun, 30 Dec 2018 16:53:07 +0100 Message-Id: <1546185195-25676-1-git-send-email-Julia.Lawall@lip6.fr> X-Mailer: git-send-email 1.9.1 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, linux-scsi@vger.kernel.org, Zorik Machulsky , linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, iommu@lists.linux-foundation.org, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, Saeed Bishara MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP These patches fix cases where a subsequent statement is aligned with the right hand side of an assignment rather than the left hand side. This was done using the following semantic match (http://coccinelle.lip6.fr/). It has a lot of false positives, because Coccinelle doesn't record the difference between a space and a tab, but these issues are easy to skip over. // @r@ expression x,e; statement S; position p0,p1,p2; @@ x@p0 = e@p1; S@p2 @script:ocaml@ p0 << r.p0; p1 << r.p1; p2 << r.p2; @@ if ((List.hd p0).col < (List.hd p1).col && (List.hd p1).col = (List.hd p2).col) then Coccilib.print_main "" p1 // --- drivers/firmware/stratix10-svc.c | 12 ++++++------ drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 2 +- drivers/iommu/msm_iommu.c | 8 ++++---- drivers/net/ethernet/amazon/ena/ena_eth_com.c | 4 ++-- drivers/net/ethernet/intel/i40e/i40e_main.c | 2 +- drivers/scsi/pm8001/pm8001_sas.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 6 +++--- drivers/usb/gadget/udc/snps_udc_core.c | 17 ++++++++--------- 8 files changed, 26 insertions(+), 27 deletions(-)