All of lore.kernel.org
 help / color / mirror / Atom feed
From: iago.abal@gmail.com (Iago Abal)
To: cocci@systeme.lip6.fr
Subject: [Cocci] Linux scripts/coccinelle/locks/double_lock.cocci not working ?
Date: Mon, 30 May 2016 18:52:15 +0200	[thread overview]
Message-ID: <CAGbDTvoOPvqRYv9MeHst4Xp5oVGT-tRb9Mjnv3M5OhHh9rr+7Q@mail.gmail.com> (raw)

Hi,

It seems that the script scripts/coccinelle/locks/double_lock.cocci
distributed with Linux 4.7-rc1 is broken. I'm using using Coccinelle 1.0.4:

Fatal error: exception Failure("False should not be in the final result.
Perhaps your rule doesn't contain any +/-/* code, or you have a failed
dependency.  If the problem is not clear, try the option
--debug-parse-cocci.")

See
https://github.com/torvalds/linux/blob/1a695a905c18548062509178b98bc91e67510864/scripts/coccinelle/locks/double_lock.cocci

Could you confirm if that's the case?

Thanks,

Iago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://systeme.lip6.fr/pipermail/cocci/attachments/20160530/c7b28307/attachment.html>

             reply	other threads:[~2016-05-30 16:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-30 16:52 Iago Abal [this message]
2016-05-31  9:34 ` [Cocci] Linux scripts/coccinelle/locks/double_lock.cocci not working ? Julia Lawall
2016-06-01 13:31   ` Iago Abal
2016-06-01 13:39     ` Julia Lawall
2016-06-01 14:50       ` Iago Abal
2016-06-01 14:54         ` Julia Lawall
2016-06-01 15:00           ` Iago Abal
2016-06-01 15:21             ` Julia Lawall
2016-06-01 15:51               ` Iago Abal
2016-06-01 15:54                 ` Julia Lawall
2016-06-01 16:07                 ` Julia Lawall
2016-06-01 16:49                 ` Julia Lawall

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=CAGbDTvoOPvqRYv9MeHst4Xp5oVGT-tRb9Mjnv3M5OhHh9rr+7Q@mail.gmail.com \
    --to=iago.abal@gmail.com \
    --cc=cocci@systeme.lip6.fr \
    /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 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.