From: Julia Lawall <Julia.Lawall@lip6.fr>
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 <saeedb@amazon.com>,
Zorik Machulsky <zorik@amazon.com>,
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 [thread overview]
Message-ID: <1546185195-25676-1-git-send-email-Julia.Lawall@lip6.fr> (raw)
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.
// <smpl>
@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
// </smpl>
---
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(-)
next reply other threads:[~2018-12-30 16:30 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-30 15:53 Julia Lawall [this message]
2018-12-30 15:53 ` [PATCH 1/8] usb: gadget: udc: reduce indentation Julia Lawall
2018-12-30 15:53 ` [PATCH 2/8] net: ena: " Julia Lawall
2018-12-30 15:53 ` [PATCH 3/8] i40e: increase indentation Julia Lawall
2019-01-03 23:58 ` Jeff Kirsher
2019-01-04 0:37 ` David Miller
2019-01-04 0:47 ` Jeff Kirsher
2019-01-11 18:44 ` [Intel-wired-lan] " Bowers, AndrewX
2018-12-30 15:53 ` [PATCH 4/8] firmware: stratix10-svc: reduce indentation Julia Lawall
2018-12-30 15:53 ` [PATCH 5/8] staging: rtl8192e: " Julia Lawall
2018-12-30 15:53 ` [PATCH 6/8] scsi: pm80xx: " Julia Lawall
2019-01-02 7:27 ` Jinpu Wang
2019-01-04 6:01 ` Martin K. Petersen
2018-12-30 15:53 ` [PATCH 7/8] drm/msm/dsi: " Julia Lawall
2018-12-30 15:53 ` [PATCH 8/8] iommu/msm: " Julia Lawall
2019-01-11 11:25 ` Joerg Roedel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1546185195-25676-1-git-send-email-Julia.Lawall@lip6.fr \
--to=julia.lawall@lip6.fr \
--cc=devel@driverdev.osuosl.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=iommu@lists.linux-foundation.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=saeedb@amazon.com \
--cc=zorik@amazon.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).