Coccinelle archive on
 help / color / Atom feed
From: Markus Elfring <>
To: Wen Yang <>,
	Julia Lawall <>,
	Coccinelle <>
Cc: Yi Wang <>,
	Herbert Xu <>,
	Greg Kroah-Hartman <>,
	LKML <>,
	Armijn Hemel <>,,
	Xue Zhihong <>,
	Cheng Shengyu <>,
	Thomas Gleixner <>,
	"David S. Miller" <>,
	Allison Randal <>
Subject: Re: [Cocci] Coccinelle: Checking the deletion of duplicate of_node_put() calls with SmPL
Date: Wed, 10 Jul 2019 07:55:40 +0200
Message-ID: <> (raw)
In-Reply-To: <>

> But I wonder at the moment why it does not work (as expected) for the original
> complete source file.

I discovered that a diff hunk (or usable patch?) is generated
if the return statement is deleted (or commented out) before the jump label
which refers to a potentially unwanted function call at the mentioned place.
How will the support evolve for automatic adjustment of such source code
combinations by the semantic patch language (Coccinelle software)?

Cocci mailing list

      reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <>
2019-07-09 12:14 ` Markus Elfring
2019-07-10  5:55   ` Markus Elfring [this message]

Reply instructions:

You may reply publically 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Coccinelle archive on

Archives are clonable:
	git clone --mirror cocci/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 cocci cocci/ \
	public-inbox-index cocci

Newsgroup available over NNTP:

AGPL code for this site: git clone public-inbox