All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cocci] Spatch fail on v1.0.2
@ 2015-09-09 18:57 Kieran Bingham
  2015-09-09 19:05 ` Julia Lawall
  2015-09-09 20:51 ` SF Markus Elfring
  0 siblings, 2 replies; 7+ messages in thread
From: Kieran Bingham @ 2015-09-09 18:57 UTC (permalink / raw)
  To: cocci

Having now updated using OPAM from earlier, my spatch no longer executes.

Has there been a change, whereby I need to adapt my patch? Or was
there a fault in the OPAM installation? or does this patch simply not
run on v.1.0.2?

Spatch available at: https://gist.github.com/kbingham/96477177dd20a72b1c2f

Run it on a linux kernel tree:

with spatch v.1.0.2 I get the following:

kbingham at CookieMonster:/opt/projects/linaro/hikey/kernel$ spatch
--linux-spacing --sp-file patches/i2c-dt.cocci . --in-place
init_defs_builtins: /home/kbingham/.opam/system/lib/coccinelle/standard.h
1115 1116
Fatal error: exception Failure("plus: parse error:
 = File "patches/i2c-dt.cocci", line 66, column 1,  charpos = 1115
    around = ')', whole content =       )
")
kbingham at CookieMonster:/opt/projects/linaro/hikey/kernel$ spatch --version
spatch version 1.0.2 with Python support and with PCRE support


However, re-installing v.1.0.0 executes fine:

kbingham at CookieMonster:/opt/projects/linaro/hikey/kernel$ spatch --version
spatch version 1.0.0-rc22 with Python support and with PCRE support

init_defs_builtins: /usr/share/coccinelle/standard.h
(ONCE) Expected tokens i2c_device_id
Skipping:./firmware/ihex2fw.c
Skipping:./arch/ia64/lib/checksum.c
... <continues>


--
Any thoughts?

Kieran

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

end of thread, other threads:[~2015-09-11 10:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-09 18:57 [Cocci] Spatch fail on v1.0.2 Kieran Bingham
2015-09-09 19:05 ` Julia Lawall
2015-09-09 19:11   ` Kieran Bingham
2015-09-09 19:14     ` Julia Lawall
2015-09-09 20:51 ` SF Markus Elfring
2015-09-11 10:47   ` Kieran Bingham
2015-09-11 10:56     ` SF Markus Elfring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.