From patchwork Fri Jan 5 14:56:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Limonciello, Mario" X-Patchwork-Id: 10146671 X-Patchwork-Delegate: andy.shevchenko@gmail.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ED29E601A1 for ; Fri, 5 Jan 2018 14:59:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DB4382845E for ; Fri, 5 Jan 2018 14:59:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CDF222882F; Fri, 5 Jan 2018 14:59:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 714A92845E for ; Fri, 5 Jan 2018 14:59:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751514AbeAEO5r (ORCPT ); Fri, 5 Jan 2018 09:57:47 -0500 Received: from esa8.dell-outbound.iphmx.com ([68.232.149.218]:41989 "EHLO esa8.dell-outbound.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751973AbeAEO5Z (ORCPT ); Fri, 5 Jan 2018 09:57:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dell.com; i=@dell.com; q=dns/txt; s=smtpout; t=1515164245; x=1546700245; h=from:to:cc:subject:date:message-id; bh=RX1ehWSARp3aE2tJYr54DK05neyTs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xvO6sibUv?= =?us-ascii?q?d9/lmu2TKI1w3L9O5EOlo7mKXBJ5E83LEwkp4TvV3EHi/rhEX5l6iWdlgi+ue1?= =?us-ascii?q?9ejreLTmpoecN49xhQDyKLghmsu6AeggMwgOWXaU+fik2bDi/kD1WqtGg/Monq?= =?us-ascii?q?XDrZzXJcsWqrS9DgJWyooj7gywDzai0NQWh3kHK1dFdQqCj4fzIVHOIff4Ae27?= =?us-ascii?q?g1StlTdrwPbGMaHgAprTKnjDlLDhcK1g5EFCzAozycpT6I5TCrEEOP7zQFP+tM?= =?us-ascii?q?TEDh8lNAy52+LnCNR71oMDVmODG6yZP73IsV+O+O0vJ/KBZJEauDnjMfgp/f3u?= =?us-ascii?q?gmEjmV8bY6ap2YEbaHeiHvRpO0+Ze2bjgs8dEWcWuQozVPTqiFmYXj5PaXayWL?= =?us-ascii?q?g85jQiBI27F4fDR56tj6Kb3CuiEZxbZWFLB0uSEXfnaYqEQe0AaCGMLc97lDwL?= =?us-ascii?q?S7yhR5Um1RG0uw+pg4Zge+bK+iQCqbri0tZv7uHenB108iZ7S4y01W2cB1p0k3?= =?us-ascii?q?0DRzIw36c39UV7xkbFyqh1nfdYGNpQ4NtGVw47MdjXyOksWP7oXQeUW96TSVHu?= =?us-ascii?q?ZtSjBjc6T981x9hGN0N0AdSlyBTC2i2sCL4Yk7iMLJA59qaa1H/0cZUug03a3b?= =?us-ascii?q?Us2gF1CvBEMner0+smr1De?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2GUAABFkU9ah2Ka6ERdGgEBAQEBAgEBA?= =?us-ascii?q?QEIAQEBAYUYJ509iwqOIoIVCoU7hDZBFgEBAQEBAQEBAQECEAEBAQoLCQgoL4I?= =?us-ascii?q?4JAGDR08zPAESihcDFbJ7h0INgyKEFIIVgVaIAkWESAyDFgWTOI9nPYI/jX2FA?= =?us-ascii?q?AKUAgKNcIkjgTwlAYIDb4J8ggQBX4ISWYlbAQEB?= X-IPAS-Result: =?us-ascii?q?A2GUAABFkU9ah2Ka6ERdGgEBAQEBAgEBAQEIAQEBAYUYJ50?= =?us-ascii?q?9iwqOIoIVCoU7hDZBFgEBAQEBAQEBAQECEAEBAQoLCQgoL4I4JAGDR08zPAESi?= =?us-ascii?q?hcDFbJ7h0INgyKEFIIVgVaIAkWESAyDFgWTOI9nPYI/jX2FAAKUAgKNcIkjgTw?= =?us-ascii?q?lAYIDb4J8ggQBX4ISWYlbAQEB?= Received: from esa4.dell-outbound2.iphmx.com ([68.232.154.98]) by esa8.dell-outbound.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Jan 2018 08:57:24 -0600 Received: from ausxippc101.us.dell.com ([143.166.85.207]) by esa4.dell-outbound2.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Jan 2018 20:57:24 +0600 X-LoopCount0: from 10.208.86.39 X-IronPort-AV: E=Sophos;i="5.46,318,1511848800"; d="scan'208";a="1032701093" X-DLP: DLP_GlobalPCIDSS From: Mario Limonciello To: dvhart@infradead.org, Andy Shevchenko Cc: LKML , platform-driver-x86@vger.kernel.org, Mario Limonciello Subject: [PATCH] platform/x86: dell-smbios: Correct notation for filtering Date: Fri, 5 Jan 2018 08:56:48 -0600 Message-Id: <1515164208-32510-1-git-send-email-mario.limonciello@dell.com> X-Mailer: git-send-email 2.7.4 Sender: platform-driver-x86-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The class/select were mistakingly put into octal notation but intended to be in decimal notation. Suggest-by: Pali Rohar Signed-off-by: Mario Limonciello --- drivers/platform/x86/dell-smbios.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/platform/x86/dell-smbios.c b/drivers/platform/x86/dell-smbios.c index 6a60db5..8541cde 100644 --- a/drivers/platform/x86/dell-smbios.c +++ b/drivers/platform/x86/dell-smbios.c @@ -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 */