Hi Max,
On Thu, Sep 21, 2017 at 01:14:39PM +0200, Max wrote:
I think int->bool and 1->true adds little value for an application but if it is important then please do it by semantic patching so they can be easily reviewed.
Could you please point me to an example of such patch in one of the Osmocom projects?
http://cgit.osmocom.org/osmo-trx/commit/?id=e210f1a864b0752f5baeb14de8ddcfc7...
Would be nice to have it as a guideline/blueprint of how it should be done. Also, do we have a wiki page which explains it?
http://coccinelle.lip6.fr/sp.php - no sure if we want to replicate that in the osmocom wiki.