On Tue, May 28, 2024 at 02:51:33PM +0200, Rasmus Villemoes wrote: > Actually, perhaps coccinelle would be a simpler place to implement a > check like this. I think Coccinelle would work on code that you can't compile as well. Plus when you implement things in different ways, then you always find different bugs. regards, dan carpenter