diff options
| author | Xichao Zhao <zhao.xichao@vivo.com> | 2025-08-12 11:40:45 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-09-14 03:32:46 +0300 |
| commit | 6c0022d6dc341668d704b1490674a21805ef645b (patch) | |
| tree | 06cef8bff0a1c80c6262eae7cbf773dfcc687c72 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | a6cf527e66b8ea7b3119a354a873ebfa57ea225e (diff) | |
| download | linux-6c0022d6dc341668d704b1490674a21805ef645b.tar.xz | |
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 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
