From: Daniel Wagner <dwagner@suse.de>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Bart Van Assche <bvanassche@acm.org>,
"Martin K . Petersen" <martin.petersen@oracle.com>,
"James E . J . Bottomley" <jejb@linux.vnet.ibm.com>,
linux-scsi@vger.kernel.org,
Rajan Shanmugavelu <rajan.shanmugavelu@oracle.com>,
Joe Jin <joe.jin@oracle.com>, Nilesh Javali <njavali@marvell.com>,
Himanshu Madhani <himanshu.madhani@oracle.com>,
Quinn Tran <qutran@marvell.com>, Martin Wilck <mwilck@suse.com>
Subject: Re: [PATCH v4 02/11] qla2xxx: Suppress two recently introduced compiler warnings
Date: Thu, 30 Apr 2020 09:29:00 +0200 [thread overview]
Message-ID: <20200430072900.bj6n54d3amllstqy@beryllium.lan> (raw)
In-Reply-To: <20200427144133.6639f447@gandalf.local.home>
On Mon, Apr 27, 2020 at 02:41:33PM -0400, Steven Rostedt wrote:
> On Mon, 27 Apr 2020 10:15:48 +0200
> Daniel Wagner <dwagner@suse.de> 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.
Thanks for explaning. I had the impression the pragma is muting
DECLARE_EVENT_CLASS.
In this case
Reviewed-by: Daniel Wagner <dwagner@suse.de>
next prev parent reply other threads:[~2020-04-30 7:29 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-27 3:02 [PATCH v4 00/11] Fix qla2xxx endianness annotations Bart Van Assche
2020-04-27 3:03 ` [PATCH v4 01/11] qla2xxx: Fix spelling of a variable name Bart Van Assche
2020-04-27 8:10 ` Daniel Wagner
2020-04-27 14:09 ` himanshu.madhani
2020-05-06 12:30 ` Hannes Reinecke
2020-05-11 7:31 ` Arun Easi
2020-04-27 3:03 ` [PATCH v4 02/11] qla2xxx: Suppress two recently introduced compiler warnings Bart Van Assche
2020-04-27 8:15 ` Daniel Wagner
2020-04-27 17:37 ` Bart Van Assche
2020-04-27 18:41 ` Steven Rostedt
2020-04-30 7:29 ` Daniel Wagner [this message]
2020-04-27 14:10 ` himanshu.madhani
2020-05-06 13:41 ` Hannes Reinecke
2020-05-11 7:32 ` Arun Easi
2020-04-27 3:03 ` [PATCH v4 03/11] qla2xxx: Sort BUILD_BUG_ON() statements alphabetically Bart Van Assche
2020-04-27 8:16 ` Daniel Wagner
2020-04-27 14:11 ` himanshu.madhani
2020-05-06 13:42 ` Hannes Reinecke
2020-05-11 7:32 ` Arun Easi
2020-04-27 3:03 ` [PATCH v4 04/11] qla2xxx: Add more BUILD_BUG_ON() statements Bart Van Assche
2020-04-27 8:18 ` Daniel Wagner
2020-04-27 14:18 ` himanshu.madhani
2020-05-06 13:42 ` Hannes Reinecke
2020-05-11 7:34 ` Arun Easi
2020-05-11 15:55 ` Bart Van Assche
2020-04-27 3:03 ` [PATCH v4 05/11] qla2xxx: Make a gap in struct qla2xxx_offld_chain explicit Bart Van Assche
2020-04-27 8:26 ` Daniel Wagner
2020-04-27 14:27 ` himanshu.madhani
2020-04-27 17:39 ` Bart Van Assche
2020-05-06 13:43 ` Hannes Reinecke
2020-05-11 7:34 ` Arun Easi
2020-04-27 3:03 ` [PATCH v4 06/11] qla2xxx: Increase the size of struct qla_fcp_prio_cfg to FCP_PRIO_CFG_SIZE Bart Van Assche
2020-04-27 8:33 ` Daniel Wagner
2020-04-27 14:28 ` himanshu.madhani
2020-05-06 13:43 ` Hannes Reinecke
2020-05-11 7:36 ` Arun Easi
2020-05-11 16:04 ` Bart Van Assche
2020-04-27 3:03 ` [PATCH v4 07/11] qla2xxx: Change two hardcoded constants into offsetof() / sizeof() expressions Bart Van Assche
2020-04-27 8:39 ` Daniel Wagner
2020-04-27 14:34 ` himanshu.madhani
2020-05-06 13:45 ` Hannes Reinecke
2020-05-11 7:36 ` Arun Easi
2020-04-27 3:03 ` [PATCH v4 08/11] qla2xxx: Fix the code that reads from mailbox registers Bart Van Assche
2020-04-27 8:41 ` Daniel Wagner
2020-04-27 14:45 ` himanshu.madhani
2020-05-06 14:03 ` Hannes Reinecke
2020-05-11 7:39 ` Arun Easi
2020-05-11 16:07 ` Bart Van Assche
2020-04-27 3:03 ` [PATCH v4 09/11] qla2xxx: Change {RD,WRT}_REG_*() function names from upper case into lower case Bart Van Assche
2020-04-27 8:41 ` Daniel Wagner
2020-04-27 14:53 ` himanshu.madhani
2020-05-11 7:40 ` Arun Easi
2020-05-11 16:11 ` Bart Van Assche
2020-04-27 3:03 ` [PATCH v4 10/11] qla2xxx: Fix endianness annotations in header files Bart Van Assche
2020-04-27 14:57 ` himanshu.madhani
2020-04-28 0:25 ` Finn Thain
2020-04-28 13:55 ` himanshu.madhani
2020-04-27 3:03 ` [PATCH v4 11/11] qla2xxx: Fix endianness annotations in source files Bart Van Assche
2020-04-27 14:59 ` himanshu.madhani
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200430072900.bj6n54d3amllstqy@beryllium.lan \
--to=dwagner@suse.de \
--cc=bvanassche@acm.org \
--cc=himanshu.madhani@oracle.com \
--cc=jejb@linux.vnet.ibm.com \
--cc=joe.jin@oracle.com \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=mwilck@suse.com \
--cc=njavali@marvell.com \
--cc=qutran@marvell.com \
--cc=rajan.shanmugavelu@oracle.com \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).