Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1356800
| From | Eric Anholt <eric@anholt.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [patch] drm/vc4: Return -EFAULT on copy_from_user() failure |
| Date | 2016-03-14 02:20 +0100 |
| Message-ID | <rcpkS-54L-9@gated-at.bofh.it> (permalink) |
| References | <raoMj-Hp-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Dan Carpenter <dan.carpenter@oracle.com> 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@oracle.com>
Pulled. Thanks!
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[patch] drm/vc4: Return -EFAULT on copy_from_user() failure Dan Carpenter <dan.carpenter@oracle.com> - 2016-03-08 13:20 +0100 Re: [patch] drm/vc4: Return -EFAULT on copy_from_user() failure Eric Anholt <eric@anholt.net> - 2016-03-14 02:20 +0100
csiph-web