Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1330955

Re: coccinelle: add style check for assignment in if

From SF Markus Elfring <elfring@users.sourceforge.net>
Newsgroups linux.kernel
Subject Re: coccinelle: add style check for assignment in if
Date 2016-02-10 10:10 +0100
Message-ID <r0yWB-dc-3@gated-at.bofh.it> (permalink)
References <qZTqq-5fX-1@gated-at.bofh.it> <r0bQl-1sy-1@gated-at.bofh.it> <r0cCJ-21t-7@gated-at.bofh.it> <r0g3E-48r-11@gated-at.bofh.it> <r0qmm-2FL-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


>> Can the check result display be more convenient from the semantic
>> patch script interface in comparison to the other tool?
> 
> -ENOPARSE.  More detail please.

Kris Borer suggested a SmPL script which can generate (only) patches
so far by the usual application of the Coccinelle software.
I assume that this approach was limited just because Julia Lawall
indicated that this functionality would be sufficient for a while.

The documentation for the command "make coccicheck" mentions
additional modes.
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/coccinelle.txt?id=ec97946ed038f4b3faa587bc76152b198805b0c4#n170

They refer to specific output formats for the result from the
static source code analysis.

* How often would you like to look at proposed changes by the
  Org mode format (of Emacs)?
  http://orgmode.org/

* Do you find the report mode also useful occasionally?


Are you interested to get further output variants?

Examples:
* CSV
* XML

Regards,
Markus

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: coccinelle: add style check for assignment in if SF Markus Elfring <elfring@users.sourceforge.net> - 2016-02-09 14:00 +0100
  Re: coccinelle: add style check for assignment in if Joe Perches <joe@perches.com> - 2016-02-10 01:00 +0100
    Re: coccinelle: add style check for assignment in if SF Markus Elfring <elfring@users.sourceforge.net> - 2016-02-10 10:10 +0100
      Re: coccinelle: add style check for assignment in if Kris Borer <kborer@gmail.com> - 2016-02-10 16:10 +0100

csiph-web