lkml.org 
[lkml]   [2004]   [Oct]   [23]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSat, 23 Oct 2004 13:28:00 +0900
FromTejun Heo <>
Subject[RFC/PATCH] Per-device parameter support (7/16)
 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@home-tj.org>


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@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-03-22 14:07    [from the cache]
©2003-2008