Re: [PATCH] drm/vmwgfx: Replace deprecated PTR_RET

2019-12-10 Thread Lukas Bulwahn
t; > linux-graphics-maintai...@vmware.com, kernel-janit...@vger.kernel.org, > > linux-ker...@vger.kernel.org, "Lukas Bulwahn" > > > > Envoyé: Dimanche 8 Décembre 2019 18:53:28 > > Objet: [PATCH] drm/vmwgfx: Replace deprecated PTR_RET > > > Commit 5081

Re: [PATCH] drm/vmwgfx: Replace deprecated PTR_RET

2019-12-10 Thread Julia Lawall
..@vger.kernel.org, "Lukas Bulwahn" > > Envoyé: Dimanche 8 Décembre 2019 18:53:28 > Objet: [PATCH] drm/vmwgfx: Replace deprecated PTR_RET > Commit 508108ea2747 ("drm/vmwgfx: Don't refcount command-buffer managed > resource lookups during command buffer validatio

Re: [PATCH] drm/vmwgfx: Replace deprecated PTR_RET

2019-12-09 Thread Thomas Hellstrom
On Sun, 2019-12-08 at 11:53 +0100, Lukas Bulwahn wrote: > 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 th

[PATCH] drm/vmwgfx: Replace deprecated PTR_RET

2019-12-09 Thread Lukas Bulwahn
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 a