Re: [PATCH 06/22] drm/tegra: Check syncpoint ID in the 'submit' IOCTL

2017-06-01 Thread Mikko Perttunen
Reviewed-by: Mikko Perttunen On 05/23/2017 03:14 AM, Dmitry Osipenko wrote: In case of invalid syncpoint ID, the host1x_syncpt_get() returns NULL and none of its users perform a check of the returned pointer later. Let's bail out until it's too late. Signed-off-by: Dmitry Osipenko --- drive

[PATCH 06/22] drm/tegra: Check syncpoint ID in the 'submit' IOCTL

2017-05-22 Thread Dmitry Osipenko
In case of invalid syncpoint ID, the host1x_syncpt_get() returns NULL and none of its users perform a check of the returned pointer later. Let's bail out until it's too late. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/tegra/drm.c | 9 + 1 file changed, 9 insertions(+) diff --git