On Mon, 27 Apr 2020 10:15:48 +0200 Daniel Wagner <dwagner@xxxxxxx> wrote: > > --- a/include/trace/events/qla.h > > +++ b/include/trace/events/qla.h > > @@ -9,6 +9,9 @@ > > > > #define QLA_MSG_MAX 256 > > > > +#pragma GCC diagnostic push > > +#pragma GCC diagnostic ignored "-Wsuggest-attribute=format" > > I would be really surprised if this is needed for every single > DECLARE_EVENT_CLASS declaration. > > > DECLARE_EVENT_CLASS(qla_log_event, > > TP_PROTO(const char *buf, > > struct va_format *vaf), Right. Looks like this warning is caused by the 'va_format' being passed to the event prototype. -- Steve