From: Petr Vorel <pvorel@suse.cz>
To: Ma Xinjian <maxj.fnst@fujitsu.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] openposix: Fix the dummy declaration for `lio_listio`
Date: Fri, 20 Dec 2024 13:10:29 +0100 [thread overview]
Message-ID: <20241220121029.GA177877@pevik> (raw)
In-Reply-To: <20241220035404.3270912-1-maxj.fnst@fujitsu.com>
Hi Ma Xinjian,
> The second parameter should be "struct aiocb *const [restrict]" instead
> of "struct aiocb *restrict const [restrict]" based on the header file "aio.h".
> For "struct aiocb *restrict const [restrict]", it will report "-Wincompatible-pointer-types"
> issue while compiling:
> - With gcc 11.5.0, it's a warning issue.
> - With gcc 14.2.0, it becomes an error.
Thanks, merged!
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2024-12-20 12:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-20 3:54 [LTP] [PATCH] openposix: Fix the dummy declaration for `lio_listio` Ma Xinjian via ltp
2024-12-20 12:10 ` Petr Vorel [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=20241220121029.GA177877@pevik \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
--cc=maxj.fnst@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