Re: [cocci] Adjustments for first statements from selected function implementations?

Markus Elfring <[email protected]> Wed, 25 Mar 2026 08:42:09 +0100
Newsgroups fr.inria.cocci
Message-ID <[email protected]>
>> A contribution like the following shows how a statement can occasionally be added
>> to the beginning of a function implementation.
>>
>> PM: runtime: Mark last busy stamp in pm_request_autosuspend()
>> 2025-06-18
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=18c1fe53d186867243f4cf17f4eef60737a16c4c
…
> I looked at the link, but I really have no idea what any of this means.

I wonder about such a feedback.
Would we like to achieve a better common understanding once more also for
mentioned implementation details?


> As long as inline functions are parseable,

This is mostly the case.


>                                            it doesn't matter about the
> other contents of header files.

I got other impressions through the years.

Regards,
Markus