lkml.org 
[lkml]   [2006]   [May]   [29]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 29 May 2006 02:14:30 -0400
FromJeff Garzik <>
SubjectRe: Should we make dmi_check_system case insensitive?
Dmitry Torokhov wrote:
> I have a request to add entry for "LifeBook B Series" to lifebook driver to
> accomodate lifebook B2545, however we already have entry for "LIFEBOOK B
> Series" (used by some other model) which is not working. Would anyone
> be opposed making dmi_check_system() ignore string case? We would have to
> malloc/copy both strings and lowercase them before doing stsstr...   

I was thinking that something like this would eventually be necessary. 
My mind even wandered into the land of wildcards and regexes...

But be wary...  DMI stuff is often used early enough that memory 
allocation may be a bad idea (it seems to use a special dmi_alloc 
function, at the very least).

	Jeff


-
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: 2006-05-29 08:17    [from the cache]
©2003-2008