From: Steven Rostedt <rostedt@goodmis•org>
To: Bart Van Assche <bvanassche@acm•org>
Cc: Arun Easi <aeasi@marvell•com>,
Martin Petersen <martin.petersen@oracle•com>,
Sudip Mukherjee <sudipm.mukherjee@gmail•com>,
James Bottomley <jejb@linux•ibm.com>,
linux-scsi@vger•kernel.org, linux-kernel@vger•kernel.org,
linux-next@vger•kernel.org,
GR-QLogic-Storage-Upstream@marvell•com
Subject: Re: [PATCH v2 1/1] tracing: Fix compile error in trace_array calls when TRACING is disabled
Date: Wed, 7 Sep 2022 16:44:00 -0400 [thread overview]
Message-ID: <20220907164400.759e2ee3@gandalf.local.home> (raw)
In-Reply-To: <60870376-3518-896b-7a6b-a4b9ea05264f@acm.org>
On Wed, 7 Sep 2022 12:27:33 -0700
Bart Van Assche <bvanassche@acm•org> wrote:
> On 9/7/22 11:57, Arun Easi wrote:
> > +#else /* CONFIG_TRACING */
> > +static inline int register_ftrace_export(struct trace_export *export)
> > +{
> > + return -EINVAL;
> > +}
> > +static inline int unregister_ftrace_export(struct trace_export *export)
> > +{
> > + return 0;
> > +}
>
> Isn't it recommended to leave a blank line between function definitions?
Not really for stub functions in header files.
-- Steve
next prev parent reply other threads:[~2022-09-07 20:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-07 18:57 [PATCH v2 0/1] Tracing: Compile error with qla2xxx Arun Easi
2022-09-07 18:57 ` [PATCH v2 1/1] tracing: Fix compile error in trace_array calls when TRACING is disabled Arun Easi
2022-09-07 19:27 ` Bart Van Assche
2022-09-07 20:44 ` Steven Rostedt [this message]
2022-09-07 22:52 ` [EXT] " Arun Easi
2022-09-07 23:10 ` Arun Easi
2022-09-07 23:12 ` Bart Van Assche
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=20220907164400.759e2ee3@gandalf.local.home \
--to=rostedt@goodmis$(echo .)org \
--cc=GR-QLogic-Storage-Upstream@marvell$(echo .)com \
--cc=aeasi@marvell$(echo .)com \
--cc=bvanassche@acm$(echo .)org \
--cc=jejb@linux$(echo .)ibm.com \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=linux-scsi@vger$(echo .)kernel.org \
--cc=martin.petersen@oracle$(echo .)com \
--cc=sudipm.mukherjee@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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