Re: [PATCH 00/14] Fix wrong %pF and %pS printk format specifier usages

From: Joe Perches
Date: Thu Sep 07 2017 - 12:50:13 EST


On Thu, 2017-09-07 at 14:38 +0200, Helge Deller wrote:
> Instead, maybe adding some checks to scripts/checkpatch.pl can help?
> E.g. warn if %pF is used in combination with the keywords like
> _builtin_return_address, _RET_IP_, and similar.

coccinelle is probably a better tool for that.