lkml.org 
[lkml]   [2004]   [Oct]   [23]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 23 Oct 2004 13:44:20 +0900
FromTejun Heo <>
SubjectRe: [RFC/PATCH] Per-device parameter support (4/16)
 Oops, I've used explanation for dp_3 again for dp_4.  Sorry.

On Sat, Oct 23, 2004 at 01:25:51PM +0900, Tejun Heo wrote:
>  dp_04_module_param_ranged.diff
> 
>  This is the 4th patch of 16 patches for devparam.

 This patch adds min and max fields of long type to struct
kernel_param and adds range checking for integer, charp and array
parameters.  Also, struct kparam_string isn't necessary anymore as we
can use max field instead.  I think this simple range-checking can
remove a lot of dulicated codes from drivers.

-- 
tejun
-
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