From: Jens Axboe <[email protected]>
To: [email protected]
Cc: Jens Axboe <[email protected]>,
Changcheng Deng <[email protected]>,
[email protected], Zeal Robot <[email protected]>,
[email protected], [email protected]
Subject: Re: [PATCH] io_uring: Use ERR_CAST() instead of ERR_PTR(PTR_ERR())
Date: Wed, 20 Oct 2021 08:02:46 -0600 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
On Wed, 20 Oct 2021 08:49:48 +0000, [email protected] wrote:
> From: Changcheng Deng <[email protected]>
>
> Use ERR_CAST() instead of ERR_PTR(PTR_ERR()).
> This makes it more readable and also fix this warning detected by
> err_cast.cocci:
> ./fs/io_uring.c: WARNING: 3208: 11-18: ERR_CAST can be used with buf
>
> [...]
Applied, thanks!
[1/1] io_uring: Use ERR_CAST() instead of ERR_PTR(PTR_ERR())
commit: 898df2447b9ee8d759e85d33087505d3905bf2f0
Best regards,
--
Jens Axboe
prev parent reply other threads:[~2021-10-20 14:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-20 8:49 [PATCH] io_uring: Use ERR_CAST() instead of ERR_PTR(PTR_ERR()) cgel.zte
2021-10-20 8:54 ` Pavel Begunkov
2021-10-20 14:02 ` Jens Axboe [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=163473856398.730876.13037999645192762534.b4-ty@kernel.dk \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/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