Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8964ebb8c35533f4084cc667079a0ce620356104
Commit:     8964ebb8c35533f4084cc667079a0ce620356104
Parent:     9135f1901ee6449dfe338adf6e40e9c2025b8150
Author:     Len Brown <[EMAIL PROTECTED]>
AuthorDate: Fri Jan 25 15:39:50 2008 -0500
Committer:  Len Brown <[EMAIL PROTECTED]>
CommitDate: Sun Feb 3 17:37:02 2008 -0500

    ACPI: remove redundant Acer blacklist entry
    
    dmi_check_system() does sub-string matching using strstr(),
    rather than exact string compares with !strcmp().
    
    So delete the longer of the Acer blacklist entries, as its
    function is just a redundant console message.
    
    Spotted-by: Carlos Corbacho <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
 drivers/acpi/blacklist.c |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c
index 8809654..9ace219 100644
--- a/drivers/acpi/blacklist.c
+++ b/drivers/acpi/blacklist.c
@@ -214,13 +214,11 @@ static struct dmi_system_id acpi_osi_dmi_table[] 
__initdata = {
         * _OSI(Linux) effect unknown:
         * DMI_MATCH(DMI_PRODUCT_NAME, "Ferrari 5000"),
         */
-       {
-       .callback = dmi_disable_osi_linux,
-       .ident = "Acer, inc.",
-       .matches = {
-                    DMI_MATCH(DMI_SYS_VENDOR, "Acer, inc."),
-               },
-       },
+       /*
+        * note that dmi_check_system() uses strstr()
+        * to match sub-strings rather than !strcmp(),
+        * so "Acer" below matches "Acer, inc." above.
+        */
        /*
         * Disable OSI(Linux) warnings on all "Acer"
         *
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to