diff options
author | Pei Xiao <xiaopei01@kylinos.cn> | 2025-06-04 14:55:48 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2025-08-01 09:11:08 -0400 |
commit | 32d89a405adc204d82bea6ae2ba27a62d35568b4 (patch) | |
tree | fe0d7575713503a2b281b011363784014f44417b /drivers | |
parent | c0883c1af14c5d351201ace00b1a46df2b157329 (diff) |
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 'drivers')
0 files changed, 0 insertions, 0 deletions