Re: [PATCH v4 02/11] qla2xxx: Suppress two recently introduced compiler warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020-04-27 01:15, Daniel Wagner wrote:
> On Sun, Apr 26, 2020 at 08:03:01PM -0700, Bart Van Assche wrote:
>> +#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. 

Hi Daniel,

My understanding is that this is only necessary if vsnprintf() is used
in the implementation of the event class.

Thanks,

Bart.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux