lkml.org 
[lkml]   [2005]   [Oct]   [29]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
Patch in this message
/
DateSat, 29 Oct 2005 07:06:59 +0100
FromAl Viro <>
Subject[PATCH] arguments out of order in class_device_create() call (s390)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
----
diff -urN RC14-base/drivers/s390/char/vmlogrdr.c current/drivers/s390/char/vmlogrdr.c
--- RC14-base/drivers/s390/char/vmlogrdr.c	2005-10-28 22:35:58.000000000 -0400
+++ current/drivers/s390/char/vmlogrdr.c	2005-10-29 01:59:36.000000000 -0400
@@ -787,8 +787,8 @@
 		return ret;
 	}
 	priv->class_device = class_device_create(
-				NULL,
 				vmlogrdr_class,
+				NULL,
 				MKDEV(vmlogrdr_major, priv->minor_num),
 				dev,
 				"%s", dev->bus_id );
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-10-29 04:09    [W:0.169 / U:0.060 seconds]
©2003-2008 Jasper Spaans