aboutsummaryrefslogtreecommitdiff
path: root/mm/swapfile.c
diff options
context:
space:
mode:
authorChen Yufan <chenyufan@vivo.com>2024-09-06 18:43:24 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2024-09-13 18:26:52 +0800
commite2b19a4840650ba1d679562d4a8959f3f6070064 (patch)
tree74b2b2f28bfc84d1b904bf8f3e2c5d33a5ff9228 /mm/swapfile.c
parentca459e5f826f262f044bda85ede8460af7f4bec9 (diff)
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 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions