]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
platform/x86: dell-smbios: Correct notation for filtering
authorMario Limonciello <mario.limonciello@dell.com>
Fri, 5 Jan 2018 14:56:48 +0000 (08:56 -0600)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 29 Jan 2018 18:44:15 +0000 (20:44 +0200)
The class/select were mistakenly put into octal notation but
intended to be in decimal notation.

Suggested-by: Pali Rohar <pali.rohar@gmail.com>
Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/dell-smbios.c

index 6a60db515bdabcb490410b35ea85bb7a3fd621f1..8541cde4cb7d3c4febde205b639428b89215bdc0 100644 (file)
@@ -65,10 +65,10 @@ static struct smbios_call call_whitelist[] = {
 
 /* calls that are explicitly blacklisted */
 static struct smbios_call call_blacklist[] = {
-       {0x0000, 01, 07}, /* manufacturing use */
-       {0x0000, 06, 05}, /* manufacturing use */
-       {0x0000, 11, 03}, /* write once */
-       {0x0000, 11, 07}, /* write once */
+       {0x0000,  1,  7}, /* manufacturing use */
+       {0x0000,  6,  5}, /* manufacturing use */
+       {0x0000, 11,  3}, /* write once */
+       {0x0000, 11,  7}, /* write once */
        {0x0000, 11, 11}, /* write once */
        {0x0000, 19, -1}, /* diagnostics */
        /* handled by kernel: dell-laptop */