Re: [Cocci] [PATCH v2 1/4] coccinelle: pm_runtime: Insert blank line

2015-05-20 Thread Michal Marek
Dne 10.5.2015 v 04:15 Julia Lawall napsal(a): On Sat, 9 May 2015, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Insert a blank line in order to improve the readability of the generated patch and also make it consistent with the other .cocci files. Signed-off-by:

[Cocci] [PATCH 2/2 RESEND] scripts/coccinelle/misc/irqf_oneshot.cocci: Fix grammar

2015-05-20 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Correct form is 'always requested'. Signed-off-by: Fabio Estevam fabio.este...@freescale.com Acked-by: Julia Lawall julia.law...@lip6.fr --- scripts/coccinelle/misc/irqf_oneshot.cocci | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[Cocci] [PATCH 1/2 RESEND] scripts/coccinelle/misc/semicolon.cocci: Use imperative mood

2015-05-20 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com According to Documentation/SubmittingPatches: Describe your changes in imperative mood, e.g. make xyzzy do frotz instead of [This patch] makes xyzzy do frotz or [I] changed xyzzy to do frotz, as if you are giving orders to the codebase to change

[Cocci] Matching from upper level struct

2015-05-20 Thread Vladimir Zapolskiy
Hello Julia, please excuse me for a newbie question, I'm trying to find a way how to match an assignment done from embracing struct or union. If you consider this C code sample: 8 static void a(void) {}; struct x { void (*u)(void); }; struct y { struct x v; }; struct

Re: [Cocci] [PATCH v3 0/4] pci: add and use pci_ioremap_wc_bar()

2015-05-20 Thread Luis R. Rodriguez
On Tue, May 19, 2015 at 10:53 AM, Luis R. Rodriguez mcg...@suse.com wrote: On Wed, Apr 29, 2015 at 02:08:47PM -0700, Luis R. Rodriguez wrote: On Tue, Apr 21, 2015 at 1:20 PM, Luis R. Rodriguez mcg...@do-not-panic.com wrote: From: Luis R. Rodriguez mcg...@suse.com This series adds

Re: [Cocci] [PATCH v3 00/17] framebuffer: simple conversions to arch_phys_wc_add()

2015-05-20 Thread Luis R. Rodriguez
On Wed, May 20, 2015 at 11:50:38AM +0300, Tomi Valkeinen wrote: On 14/05/15 17:26, Luis R. Rodriguez wrote: Tomi, Any chance you can consider this series again? I realize you say you are not familiar with MTRR but given its prevalence use on framebuffer device drivers and since