Skip to contentSkip to conversation

Per-device parameter support (7/16)

RFC/PATCH Tejun Heo 1 participant 1 message Oct 23, 2004 Module support

lore
Share & tools
lore

Tejun Heo

author
#0 lore raw

dp_07_param_array_delim_colon.diff

This is the 7th patch of 16 patches for devparam.

This adds ':' to the delimeters for param_array(). ':' is used as
the nested array delimeter in devparam.

include/linux/moduleparam.h +1 -1
Index: linux-devparam-export/include/linux/moduleparam.h
===================================================================
@@ -193,7 +193,7 @@ static inline int param_array(const char
 {
 	return param_array_delims(name, val, min_val, max_val,
 				  min_elems, max_elems, elem, elemsize,
-				  set, num, ",");
+				  set, num, ",:");
 }
 
 #endif /* _LINUX_MODULE_PARAMS_H */