All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lourdes Pedrajas <lu@pplo.net>
To: outreachy-kernel@googlegroups.com
Subject: Trying to use Coccinelle
Date: Wed, 11 Mar 2020 19:11:34 +0100	[thread overview]
Message-ID: <20200311181134.GA17847@supernova> (raw)

Hello, I compiled Coccinelle successfully but maybe I am not getting it.
In order to try it in drivers/staging I ran e.g.:

make coccicheck MODE=patch M=drivers/staging/android/

and then got:

coccicheck failed
make: *** [coccicheck] Error 255
Makefile:1740: recipe for target 'coccicheck' failed.

Also tried some modifications of the command, read this documentation:
https://www.kernel.org/doc/html/latest/dev-tools/coccinelle.html and searched
how to use it, but nothing did help.

Only when I ran make coccicheck MODE=patch over entire sources it
produces some good results, but eventually I got

coccicheck failed
Makefile:1740: recipe for target 'coccicheck' failed
make: *** [coccicheck] Error 255

Am I missing something?
Sorry if this question is too obvious.

Lourdes


             reply	other threads:[~2020-03-11 18:11 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-11 18:11 Lourdes Pedrajas [this message]
2020-03-11 23:23 ` [Outreachy kernel] Trying to use Coccinelle Stefano Brivio
2020-03-13  9:40   ` Lourdes Pedrajas
2020-03-16 14:08     ` Stefano Brivio
2020-03-16 14:27       ` Julia Lawall
2020-03-16 14:36         ` Stefano Brivio
2020-03-16 14:44           ` Julia Lawall
2020-03-16 15:23             ` Stefano Brivio
2020-03-16 15:32               ` Julia Lawall
2020-03-16 15:44                 ` Stefano Brivio
2020-03-19 20:15                   ` Lourdes Pedrajas
2020-03-19 20:25                     ` Julia Lawall
2020-03-19 20:43                     ` Stefano Brivio
2020-03-19 21:30                       ` Lourdes Pedrajas
2020-03-19 21:38                         ` Julia Lawall
2020-03-19 21:47                           ` Lourdes Pedrajas
2020-03-19 21:50                             ` Julia Lawall
2020-03-19 22:06                               ` Lourdes Pedrajas
2020-03-23  0:00                                 ` Stefano Brivio

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=20200311181134.GA17847@supernova \
    --to=lu@pplo.net \
    --cc=outreachy-kernel@googlegroups.com \
    /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.