Re: Should we make dmi_check_system case insensitive?

From: Jeff Garzik
Date: Mon May 29 2006 - 02:14:34 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/