diff options
author | 2016-03-08 15:09:41 +0300 | |
---|---|---|
committer | 2016-03-13 17:09:12 -0700 | |
commit | 585cb132a48190b554aecda2ebc3e2911fcbb665 (patch) | |
tree | a06a893368b7acc7f6505f8511cd05a43c398637 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/vc4: Respect GPIO_ACTIVE_LOW on HDMI HPD if set in the devicetree. (diff) | |
download | linux-dev-585cb132a48190b554aecda2ebc3e2911fcbb665.tar.xz linux-dev-585cb132a48190b554aecda2ebc3e2911fcbb665.zip |
drm/vc4: Return -EFAULT on copy_from_user() failure
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.')
Cc: stable@vger.kernel.org
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions