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: 1019452 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=osuosl.org (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=lip6.fr Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43SR4z3Syxz9s7T for ; Mon, 31 Dec 2018 03:40:18 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2BD58220CA; Sun, 30 Dec 2018 16:40:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qa-X8hbIhdlh; Sun, 30 Dec 2018 16:40:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 9A4EC226E9; Sun, 30 Dec 2018 16:40:11 +0000 (UTC) X-Original-To: intel-wired-lan@lists.osuosl.org Delivered-To: intel-wired-lan@lists.osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 295221BF3C1 for ; Sun, 30 Dec 2018 16:40:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 25676220CA for ; Sun, 30 Dec 2018 16:40:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3f2U+O7LXYpP for ; Sun, 30 Dec 2018 16:40:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by silver.osuosl.org (Postfix) with ESMTPS id 9604E2014A for ; Sun, 30 Dec 2018 16:40:08 +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 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 Subject: [Intel-wired-lan] [PATCH 0/8] reduce indentation X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver 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: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" 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(-)