diff options
author | 2019-12-08 11:53:28 +0100 | |
---|---|---|
committer | 2020-01-15 11:46:58 +0100 | |
commit | a26ca967c240c628085142d6569fff69539b44e6 (patch) | |
tree | f6b27bcee84a522d769be8b370d22d7b8d31d592 /lib/test_overflow.c | |
parent | drm/vmwgfx: Call vmw_driver_{load,unload}() before registering device (diff) | |
download | wireguard-linux-a26ca967c240c628085142d6569fff69539b44e6.tar.xz wireguard-linux-a26ca967c240c628085142d6569fff69539b44e6.zip |
drm/vmwgfx: Replace deprecated PTR_RET
Commit 508108ea2747 ("drm/vmwgfx: Don't refcount command-buffer managed
resource lookups during command buffer validation") slips in use of
deprecated PTR_RET. Use PTR_ERR_OR_ZERO instead.
As the PTR_ERR_OR_ZERO is a bit longer than PTR_RET, we introduce
local variable ret for proper indentation and line-length limits.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions