Re: [PATCH] drm/etnaviv: Fix off-by-one error in reloc checking

2017-08-04 Thread Christian Gmeiner
2017-07-25 14:33 GMT+02:00 Wladimir J. van der Laan : > A relocation pointing to the last four bytes of a buffer can > legitimately happen in the case of small vertex buffers. > > Signed-off-by: Wladimir J. van der Laan Reviewed-by: Christian Gmeiner

Re: [PATCH] drm/etnaviv: Fix off-by-one error in reloc checking

2017-07-25 Thread Philipp Zabel
On Tue, 2017-07-25 at 14:33 +0200, Wladimir J. van der Laan wrote: > A relocation pointing to the last four bytes of a buffer can > legitimately happen in the case of small vertex buffers. > > Signed-off-by: Wladimir J. van der Laan > --- >

[PATCH] drm/etnaviv: Fix off-by-one error in reloc checking

2017-07-25 Thread Wladimir J. van der Laan
A relocation pointing to the last four bytes of a buffer can legitimately happen in the case of small vertex buffers. Signed-off-by: Wladimir J. van der Laan --- drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git