From: Ritesh Harjani <riteshh@linux.ibm.com>
To: Feiyu Zhu <zhufy.jy@cn.fujitsu.com>, fstests@vger.kernel.org
Subject: Re: [PATCH] src/t_enospc.c: Fix an error for the loop initialization declaration
Date: Wed, 16 Dec 2020 10:51:23 +0530 [thread overview]
Message-ID: <73b0fefd-bfd1-1f1d-a714-cb2b42b479f6@linux.ibm.com> (raw)
In-Reply-To: <1607569194-25989-1-git-send-email-zhufy.jy@cn.fujitsu.com>
On 12/10/20 8:29 AM, Feiyu Zhu wrote:
> When I compiled xfstests using the gcc(version 4.8.5), the following error occurred:
> t_enospc.c: In function 'enospc_test':
> t_enospc.c:88:2: error: 'for' loop initial declarations are only allowed in C99 mode
> for (int i = 0; i < size; i++) {
> ^
>
> Signed-off-by: Feiyu Zhu <zhufy.jy@cn.fujitsu.com>
Thanks for your patch. LGTM, please feel free to add.
Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>
prev parent reply other threads:[~2020-12-16 5:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-10 2:59 [PATCH] src/t_enospc.c: Fix an error for the loop initialization declaration Feiyu Zhu
2020-12-16 5:21 ` Ritesh Harjani [this message]
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=73b0fefd-bfd1-1f1d-a714-cb2b42b479f6@linux.ibm.com \
--to=riteshh@linux.ibm.com \
--cc=fstests@vger.kernel.org \
--cc=zhufy.jy@cn.fujitsu.com \
/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