diff options
author | 2024-09-06 18:43:24 +0800 | |
---|---|---|
committer | 2024-09-13 18:26:52 +0800 | |
commit | e2b19a4840650ba1d679562d4a8959f3f6070064 (patch) | |
tree | 74b2b2f28bfc84d1b904bf8f3e2c5d33a5ff9228 /rust/helpers/workqueue.c | |
parent | crypto: mips/crc32 - Clean up useless assignment operations (diff) | |
download | wireguard-linux-e2b19a4840650ba1d679562d4a8959f3f6070064.tar.xz wireguard-linux-e2b19a4840650ba1d679562d4a8959f3f6070064.zip |
crypto: camm/qi - Use ERR_CAST() to return error-valued pointer
Instead of directly casting and returning (void *) pointer, use ERR_CAST
to explicitly return an error-valued pointer. This makes the error handling
more explicit and improves code clarity.
Signed-off-by: Chen Yufan <chenyufan@vivo.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions