This is a note to let you know that I've just added the patch titled

    drm/tegra: Use correct relocation target offsets

to the 3.19-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-tegra-use-correct-relocation-target-offsets.patch
and it can be found in the queue-3.19 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From 31f40f86526b71009973854c1dfe799ee70f7588 Mon Sep 17 00:00:00 2001
From: David Ung <[email protected]>
Date: Tue, 20 Jan 2015 18:37:35 -0800
Subject: drm/tegra: Use correct relocation target offsets

From: David Ung <[email protected]>

commit 31f40f86526b71009973854c1dfe799ee70f7588 upstream.

When copying a relocation from userspace, copy the correct target
offset.

Signed-off-by: David Ung <[email protected]>
Fixes: 961e3beae3b2 ("drm/tegra: Make job submission 64-bit safe")
[[email protected]: provide a better commit message]
Signed-off-by: Thierry Reding <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/gpu/drm/tegra/drm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/gpu/drm/tegra/drm.c
+++ b/drivers/gpu/drm/tegra/drm.c
@@ -190,7 +190,7 @@ static int host1x_reloc_copy_from_user(s
        if (err < 0)
                return err;
 
-       err = get_user(dest->target.offset, &src->cmdbuf.offset);
+       err = get_user(dest->target.offset, &src->target.offset);
        if (err < 0)
                return err;
 


Patches currently in stable-queue which might be from [email protected] are

queue-3.19/drm-tegra-use-correct-relocation-target-offsets.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to