On Sun, 2015-04-12 at 17:38 +0200, Geert Uytterhoeven wrote:> Perhaps checkpatch should complain about casts outside header files?I think that's not feasible/desirable.type casting is pretty common and necessary.There are 50k+ casts in drivers/ alone.