diff options
author | 2025-06-04 14:55:48 +0800 | |
---|---|---|
committer | 2025-08-01 09:11:08 -0400 | |
commit | 32d89a405adc204d82bea6ae2ba27a62d35568b4 (patch) | |
tree | fe0d7575713503a2b281b011363784014f44417b /tools/perf/scripts/python | |
parent | virtio: Fix typo in register_virtio_device() doc comment (diff) | |
download | wireguard-linux-32d89a405adc204d82bea6ae2ba27a62d35568b4.tar.xz wireguard-linux-32d89a405adc204d82bea6ae2ba27a62d35568b4.zip |
vhost: Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...))
cocci warning:
./kernel/vhost_task.c:148:9-16: WARNING: ERR_CAST can be used with tsk
Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)).
Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn>
Message-Id: <1a8499a5da53e4f72cf21aca044ae4b26db8b2ad.1749020055.git.xiaopei01@kylinos.cn>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions