Commit 8731b269 authored by Maneet Singh's avatar Maneet Singh Committed by Dave Airlie
Browse files

drm: Correct arguments to list_tail_add in create blob ioctl

Arguments passed to list_add_tail were reversed resulting in deletion
of old blob property everytime the new one is added.


commit e2f5d2ea

Author: Daniel Stone <>
Date:   Fri May 22 13:34:51 2015 +0100

    drm/mode: Add user blob-creation ioctl
Signed-off-by: default avatarManeet Singh <>
[seanpaul tweaked commit subject a little]
Signed-off-by: default avatarSean Paul <>
Cc: # v4.2
Reviewed-by: default avatarDaniel Stone <>
Reviewed-by: default avatarJani Nikula <>
Signed-off-by: default avatarDave Airlie <>
parent 9ac0934b
......@@ -4454,7 +4454,7 @@ int drm_mode_createblob_ioctl(struct drm_device *dev,
* not associated with any file_priv. */
out_resp->blob_id = blob->;
list_add_tail(&file_priv->blobs, &blob->head_file);
list_add_tail(&blob->head_file, &file_priv->blobs);
return 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment