diff options
author | Dave Airlie <airlied@redhat.com> | 2018-11-29 01:34:03 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2018-11-29 01:34:03 +0100 |
commit | 1ec28f8b8ada4e4f77d1af006a3a474f4f83b8e3 (patch) | |
tree | 2e810e02a66cdec0bc82a8555796b7083ad03416 /lib/test_firmware.c | |
parent | Merge tag 'drm-misc-next-2018-11-28' of git://anongit.freedesktop.org/drm/drm... (diff) | |
parent | Linux 4.20-rc4 (diff) | |
download | linux-1ec28f8b8ada4e4f77d1af006a3a474f4f83b8e3.tar.xz linux-1ec28f8b8ada4e4f77d1af006a3a474f4f83b8e3.zip |
Merge v4.20-rc4 into drm-next
Requested by Boris Brezillon for some vc4 fixes that are needed for future vc4 work.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'lib/test_firmware.c')
-rw-r--r-- | lib/test_firmware.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/test_firmware.c b/lib/test_firmware.c index b984806d7d7b..7cab9a9869ac 100644 --- a/lib/test_firmware.c +++ b/lib/test_firmware.c @@ -837,6 +837,7 @@ static ssize_t read_firmware_show(struct device *dev, if (req->fw->size > PAGE_SIZE) { pr_err("Testing interface must use PAGE_SIZE firmware for now\n"); rc = -EINVAL; + goto out; } memcpy(buf, req->fw->data, req->fw->size); |