[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1905170912590.4014@hadrien>
Date: Fri, 17 May 2019 09:14:45 +0200 (CEST)
From: Julia Lawall <julia.lawall@...6.fr>
To: wen.yang99@....com.cn
cc: Markus.Elfring@....de, cocci@...teme.lip6.fr,
linux-kernel@...r.kernel.org,
Gilles Muller <Gilles.Muller@...6.fr>,
yamada.masahiro@...ionext.com, michal.lkml@...kovi.net,
nicolas.palix@...g.fr
Subject: Re: Coccinelle: semantic patch for missing of_node_put
A semantic patch has no access to comments. The only thing I can see to
do is to use python to interact with some external tools. For example,
you could write some code to collect the comments in a file and the lines
on which they occur, and then get the comment that most closely precedes
the start of the function.
julia
Powered by blists - more mailing lists