diff options
author | 2023-09-15 15:59:21 +0300 | |
---|---|---|
committer | 2023-09-20 00:20:08 +0200 | |
commit | c5f9362307c685fe6a90d344bf81579578fd25d8 (patch) | |
tree | b6e09213cde8f9b39fd2958a0cc5b08bafaf15b8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nouveau/u_memcpya: use vmemdup_user (diff) | |
download | wireguard-linux-c5f9362307c685fe6a90d344bf81579578fd25d8.tar.xz wireguard-linux-c5f9362307c685fe6a90d344bf81579578fd25d8.zip |
nouveau/u_memcpya: fix NULL vs error pointer bug
The u_memcpya() function is supposed to return error pointers on
error. Returning NULL will lead to an Oops.
Fixes: e3885f712134 ("nouveau/u_memcpya: use vmemdup_user")
Reviewed-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Danilo Krummrich <dakr@redhat.com>
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/10fd258b-466f-4c5b-9d48-fe61a3f21424@moroto.mountain
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions