Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758585Ab3HJRen (ORCPT ); Sat, 10 Aug 2013 13:34:43 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:9890 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752844Ab3HJRel (ORCPT ); Sat, 10 Aug 2013 13:34:41 -0400 X-IronPort-AV: E=Sophos;i="4.89,852,1367964000"; d="scan'208";a="29009660" From: Julia Lawall To: trivial@kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] adjust code alignment Date: Sat, 10 Aug 2013 19:34:35 +0200 Message-Id: <1376156077-6208-1-git-send-email-Julia.Lawall@lip6.fr> X-Mailer: git-send-email 1.7.8.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 827 Lines: 43 These patches result from the following semantic patch (http://coccinelle.lip6.fr/), which checks for successive statements that are not aligned. @bad@ statement S; expression e; position p1,p; @@ S@p1 e@p; @script:ocaml@ p1 << bad.p1; p << bad.p; @@ if not ((List.hd p1).line = (List.hd p).line) then include_match false @r@ expression e1,e2; position p1 != bad.p,p2; @@ e1@p1; e2@p2; @script:ocaml@ p1 << r.p1; p2 << r.p2; @@ if not ((List.hd p1).col = (List.hd p2).col) && not ((List.hd p1).line = (List.hd p2).line) then begin print_main "" p1; print_secs "" p2 end -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/