+ drm-convert-to-idr_alloc-fix-fix.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: drm-convert-to-idr_alloc-fix-fix
has been added to the -mm tree.  Its filename is
     drm-convert-to-idr_alloc-fix-fix.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Jiri Slaby <jslaby@xxxxxxx>
Subject: drm-convert-to-idr_alloc-fix-fix

fix drm_gem_flink_ioctl() return value

Cc: Artem Savkov <artem.savkov@xxxxxxxxx>
Cc: David Airlie <airlied@xxxxxxxx>
Cc: Tejun Heo <tj@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/gpu/drm/drm_gem.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/gpu/drm/drm_gem.c~drm-convert-to-idr_alloc-fix-fix drivers/gpu/drm/drm_gem.c
--- a/drivers/gpu/drm/drm_gem.c~drm-convert-to-idr_alloc-fix-fix
+++ a/drivers/gpu/drm/drm_gem.c
@@ -460,6 +460,7 @@ drm_gem_flink_ioctl(struct drm_device *d
 
 		if (ret < 0)
 			goto err;
+		ret = 0;
 
 		/* Allocate a reference for the name table.  */
 		drm_gem_object_reference(obj);
_

Patches currently in -mm which might be from jslaby@xxxxxxx are

linux-next.patch
drm-convert-to-idr_alloc-fix-fix.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux