On 2020-05-07 15:00, Nick Desaulniers wrote: > On Thu, May 7, 2020 at 12:18 PM kbuild test robot <lkp@xxxxxxxxx> wrote: >> All errors (new ones prefixed by >>): >> >> In file included from drivers/scsi/qla2xxx/qla_dbg.c:77: >>>> include/trace/events/qla.h:13:32: error: unknown warning group '-Wsuggest-attribute=format', ignored [-Werror,-Wunknown-warning-option] >> #pragma GCC diagnostic ignored "-Wsuggest-attribute=format" >> ^ > > Hi Bart, > These compiler specific pragma's are not toolchain portable. You'll > need to wrap them in: > #ifndef __clang__ > preprocessor macros, or I think we have a pragma helper in tree that > helps with compiler specific pragmas. IIRC it uses _Pragma to define > pragmas in macros. Hi Nick, Thanks for the feedback. I will have a look at _Pragma() and see what the best way is to suppress this warning. Bart.