All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xf86drm: Fix ioctl struct clearing in drmAgpEnable
@ 2015-03-24 17:53 Connor Behan
  2015-03-27  0:06 ` Emil Velikov
  2015-04-05 14:32 ` Emil Velikov
  0 siblings, 2 replies; 5+ messages in thread
From: Connor Behan @ 2015-03-24 17:53 UTC (permalink / raw)
  To: dri-devel; +Cc: Connor Behan

This one is a bit harder to notice.

Signed-off-by: Connor Behan <connor.behan@gmail.com>
---
 xf86drm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xf86drm.c b/xf86drm.c
index e73cddd..ffc53b8 100644
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -1719,7 +1719,7 @@ int drmAgpEnable(int fd, unsigned long mode)
 {
     drm_agp_mode_t m;
 
-    memclear(mode);
+    memclear(m);
     m.mode = mode;
     if (drmIoctl(fd, DRM_IOCTL_AGP_ENABLE, &m))
 	return -errno;
-- 
2.3.3

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-04-05 14:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-24 17:53 [PATCH] xf86drm: Fix ioctl struct clearing in drmAgpEnable Connor Behan
2015-03-27  0:06 ` Emil Velikov
2015-03-27  2:26   ` Connor Behan
2015-03-30 14:14     ` Alex Deucher
2015-04-05 14:32 ` Emil Velikov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.