Dan Carpenter writes:
> The copy_from_user() function returns the number of bytes not copied but
> we want to return a negative error code.
>
> Fixes: 463873d57014 ('drm/vc4: Add an API for creating GPU shaders in GEM
> BOs.')
> Signed-off-by: Dan Carpenter
Dan Carpenter writes:
> The copy_from_user() function returns the number of bytes not copied but
> we want to return a negative error code.
>
> Fixes: 463873d57014 ('drm/vc4: Add an API for creating GPU shaders in GEM
> BOs.')
> Signed-off-by: Dan Carpenter
Pulled. Thanks!
signature.asc
The copy_from_user() function returns the number of bytes not copied but
we want to return a negative error code.
Fixes: 463873d57014 ('drm/vc4: Add an API for creating GPU shaders in GEM BOs.')
Signed-off-by: Dan Carpenter
diff --git a/drivers/gpu/drm/vc4/vc4_bo.c
The copy_from_user() function returns the number of bytes not copied but
we want to return a negative error code.
Fixes: 463873d57014 ('drm/vc4: Add an API for creating GPU shaders in GEM BOs.')
Signed-off-by: Dan Carpenter
diff --git a/drivers/gpu/drm/vc4/vc4_bo.c
4 matches
Mail list logo