[RFC/PATCH] Per-device parameter support (7/16)

From: Tejun Heo
Date: Fri Oct 22 2004 - 23:43:49 EST


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.


Signed-off-by: Tejun Heo <tj@xxxxxxxxxxx>


Index: linux-devparam-export/include/linux/moduleparam.h
===================================================================
--- linux-devparam-export.orig/include/linux/moduleparam.h 2004-10-23 11:09:29.000000000 +0900
+++ linux-devparam-export/include/linux/moduleparam.h 2004-10-23 11:09:29.000000000 +0900
@@ -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 */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/