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: 10745125 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 29CBF13BF for ; Sun, 30 Dec 2018 16:30:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1916D28935 for ; Sun, 30 Dec 2018 16:30:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0D03E28A8F; Sun, 30 Dec 2018 16:30:41 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B03D328935 for ; Sun, 30 Dec 2018 16:30:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726619AbeL3QaD (ORCPT ); Sun, 30 Dec 2018 11:30:03 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:52556 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726376AbeL3QaB (ORCPT ); Sun, 30 Dec 2018 11:30:01 -0500 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 Cc: kernel-janitors@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, devel@driverdev.osuosl.org, intel-wired-lan@lists.osuosl.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Saeed Bishara , Zorik Machulsky , netdev@vger.kernel.org, linux-scsi@vger.kernel.org, iommu@lists.linux-foundation.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 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org 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(-)