diff options
| author | Yonghong Song <[email protected]> | 2025-07-20 16:47:54 +0000 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2025-07-22 00:27:09 +0000 |
| commit | 95993dc3039e29dabb9a50d074145d4cb757b08b (patch) | |
| tree | 908917148fbce5bcba54f417ff242ceac4d58aae /lib/crypto/mpi/mpi-cmp.c | |
| parent | libbpf: Verify that arena map exists when adding arena relocations (diff) | |
| download | kernel-95993dc3039e29dabb9a50d074145d4cb757b08b.tar.gz kernel-95993dc3039e29dabb9a50d074145d4cb757b08b.zip | |
bpf: Use ERR_CAST instead of ERR_PTR(PTR_ERR(...))
Intel linux test robot reported a warning that ERR_CAST can be used
for error pointer casting instead of more-complicated/rarely-used
ERR_PTR(PTR_ERR(...)) style.
There is no functionality change, but still let us replace two such
instances as it improves consistency and readability.
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Yonghong Song <[email protected]>
Signed-off-by: Martin KaFai Lau <[email protected]>
Acked-by: Eduard Zingerman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
