linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] reduce indentation
@ 2018-12-30 15:53 Julia Lawall
  2018-12-30 15:53 ` [PATCH 1/8] usb: gadget: udc: " Julia Lawall
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Julia Lawall @ 2018-12-30 15:53 UTC (permalink / raw)
  To: freedreno
  Cc: kernel-janitors, dri-devel, linux-arm-msm, devel,
	intel-wired-lan, linux-usb, linux-kernel, Saeed Bishara,
	Zorik Machulsky, netdev, linux-scsi, iommu

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(-)

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2019-01-11 18:45 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-30 15:53 [PATCH 0/8] reduce indentation Julia Lawall
2018-12-30 15:53 ` [PATCH 1/8] usb: gadget: udc: " 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

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).