lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163473856398.730876.13037999645192762534.b4-ty@kernel.dk>
Date:   Wed, 20 Oct 2021 08:02:46 -0600
From:   Jens Axboe <axboe@...nel.dk>
To:     cgel.zte@...il.com
Cc:     Jens Axboe <axboe@...nel.dk>,
        Changcheng Deng <deng.changcheng@....com.cn>,
        io-uring@...r.kernel.org, Zeal Robot <zealci@....com.cn>,
        asml.silence@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] io_uring: Use ERR_CAST() instead of ERR_PTR(PTR_ERR())

On Wed, 20 Oct 2021 08:49:48 +0000, cgel.zte@...il.com wrote:
> From: Changcheng Deng <deng.changcheng@....com.cn>
> 
> 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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ