diff options
author | Yuesong Li <liyuesong@vivo.com> | 2024-08-30 11:16:42 +0800 |
---|---|---|
committer | Mikulas Patocka <mpatocka@redhat.com> | 2024-09-02 11:41:11 +0200 |
commit | 00565cff01262c888512bffe9d41e4831a6f2cc7 (patch) | |
tree | 003ca1541fec81ae4cecd66e962e1dace0981772 /tools/perf/scripts/python/syscall-counts.py | |
parent | 02c0207ecdcc9abdf3442676154f8fd2be0f649a (diff) |
dm: Convert to use ERR_CAST()
Use ERR_CAST() as it is designed for casting an error pointer to
another type.
This macro utilizes the __force and __must_check modifiers, which instruct
the compiler to verify for errors at the locations where it is employed.
Signed-off-by: Yuesong Li <liyuesong@vivo.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions