[openib-general] FW: [PATCH] ib_ucm: Change sys class name to match ib_uverbs and ib_mad

Jordan, Bill bjordan at silverstorm.com
Fri Jun 3 14:06:19 PDT 2005


Patch to change sys class name of userspace cm to match
format of userpace verbs and userspace mad class names.

Signed-off-by: Bill Jordan <bjordan at silverstorm.com>

Index: gen2/trunk/src/linux-kernel/infiniband/core/ucm.c
===================================================================
--- gen2/trunk/src/linux-kernel/infiniband/core/ucm.c	(revision 2538)
+++ gen2/trunk/src/linux-kernel/infiniband/core/ucm.c	(working copy)
@@ -1363,7 +1363,7 @@
 		goto err_cdev;
 	}
 
-	ib_ucm_class = class_simple_create(THIS_MODULE, "ucm");
+	ib_ucm_class = class_simple_create(THIS_MODULE, "infiniband_cm");
 	if (IS_ERR(ib_ucm_class)) {
 		result = PTR_ERR(ib_ucm_class);
 		printk(KERN_ERR "UCM: Error <%d> creating class\n", result);



More information about the general mailing list