diff options
| author | Xichao Zhao <zhao.xichao@vivo.com> | 2025-08-12 16:40:45 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-09-13 17:32:46 -0700 |
| commit | 6c0022d6dc341668d704b1490674a21805ef645b (patch) | |
| tree | 06cef8bff0a1c80c6262eae7cbf773dfcc687c72 /lib/test_xarray.c | |
| parent | a6cf527e66b8ea7b3119a354a873ebfa57ea225e (diff) | |
lib/fault-inject-usercopy.c: use PTR_ERR_OR_ZERO() to simplify code
Use the standard error pointer macro to shorten the code and simplify.
Link: https://lkml.kernel.org/r/20250812084045.64218-1-zhao.xichao@vivo.com
Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions
