diff options
| author | Changcheng Deng <[email protected]> | 2021-10-20 08:49:48 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-10-20 08:02:35 -0600 |
| commit | 898df2447b9ee8d759e85d33087505d3905bf2f0 (patch) | |
| tree | 14aab37a126cd6d4f2af3dbcd3a82d3cef3376e6 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 3b44b3712c5b19b0af11c25cd978abdc3680d5e7 (diff) | |
io_uring: Use ERR_CAST() instead of ERR_PTR(PTR_ERR())
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
Reported-by: Zeal Robot <[email protected]>
Signed-off-by: Changcheng Deng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions