Re: [PATCH v5] printk: Userspace format enumeration support

From: Joe Perches
Date: Fri Apr 16 2021 - 10:09:38 EST


On Fri, 2021-04-16 at 14:56 +0100, Chris Down wrote:
> Any better suggestions? :-)

A gcc plugin that looks for functions marked __printf(fmt, pos)
so any const fmt is stored.