FS/XFS testing framework
 help / color / mirror / Atom feed
From: Vyacheslav Yurkov <uvv.mail@gmail.com>
To: fstests@vger.kernel.org
Cc: Khem Raj <raj.khem@gmail.com>,
	Vyacheslav Yurkov <uvv.mail@gmail.com>,
	"Darrick J . Wong" <djwong@kernel.org>,
	Zorro Lang <zlang@redhat.com>
Subject: [PATCH] fsx: Add a return type to aio_rw
Date: Wed, 27 Sep 2023 15:16:17 +0200	[thread overview]
Message-ID: <20230927131617.100908-1-uvv.mail@gmail.com> (raw)

From: Khem Raj <raj.khem@gmail.com>

Compilers complain about the function prototype otherwise

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Cc: Darrick J. Wong <djwong@kernel.org>
Cc: Zorro Lang <zlang@redhat.com>
---
 ltp/fsx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ltp/fsx.c b/ltp/fsx.c
index ccb382e7..a30e2a8d 100644
--- a/ltp/fsx.c
+++ b/ltp/fsx.c
@@ -2592,6 +2592,7 @@ out_error:
 	return -1;
 }
 #else
+int
 aio_rw(int rw, int fd, char *buf, unsigned len, unsigned offset)
 {
 	fprintf(stderr, "io_rw: need AIO support!\n");
-- 
2.35.1


             reply	other threads:[~2023-09-27 13:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-27 13:16 Vyacheslav Yurkov [this message]
2023-09-27 14:30 ` [PATCH] fsx: Add a return type to aio_rw Darrick J. Wong

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=20230927131617.100908-1-uvv.mail@gmail.com \
    --to=uvv.mail@gmail.com \
    --cc=djwong@kernel.org \
    --cc=fstests@vger.kernel.org \
    --cc=raj.khem@gmail.com \
    --cc=zlang@redhat.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