From patchwork Thu May 19 13:54:14 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Whitcroft X-Patchwork-Id: 96380 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id BD3C91007D7 for ; Thu, 19 May 2011 23:54:36 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1QN3gE-0003vK-QJ; Thu, 19 May 2011 13:54:22 +0000 Received: from adelie.canonical.com ([91.189.90.139]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1QN3gC-0003v1-Lh for kernel-team@lists.ubuntu.com; Thu, 19 May 2011 13:54:20 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1QN3gC-0004Zu-87; Thu, 19 May 2011 13:54:20 +0000 Received: from 212-139-215-176.dynamic.dsl.as9105.com ([212.139.215.176] helo=localhost.localdomain) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QN3gC-0007pV-4f; Thu, 19 May 2011 13:54:20 +0000 From: Andy Whitcroft To: kernel-team@lists.ubuntu.com Subject: [PATCH 1/2] UBUNTU: SAUCE: vesafb: mtrr module parameter is uint, not bool Date: Thu, 19 May 2011 14:54:14 +0100 Message-Id: <1305813255-8076-2-git-send-email-apw@canonical.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1305813255-8076-1-git-send-email-apw@canonical.com> References: <1305813255-8076-1-git-send-email-apw@canonical.com> X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com From: Thomas Schlichter BugLink: http://bugs.launchpad.net/bugs/778043 As noted by the reporter the mtrr kernel command line option is actually a positive numeric not a boolean, move the module parameter we add to match. Signed-off-by: Andy Whitcroft Acked-by: Leann Ogasawara Acked-by: Brad Figg --- drivers/video/vesafb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/vesafb.c b/drivers/video/vesafb.c index 2a60213..d0db4bb 100644 --- a/drivers/video/vesafb.c +++ b/drivers/video/vesafb.c @@ -74,7 +74,7 @@ module_param_named(vgapal, pmi_setpal, invbool, 0); MODULE_PARM_DESC(vgapal, "Use VGA for setting palette (default)"); module_param_named(pmipal, pmi_setpal, bool, 0); MODULE_PARM_DESC(pmipal, "Use PMI for setting palette"); -module_param(mtrr, bool, 0); +module_param(mtrr, uint, 0); MODULE_PARM_DESC(mtrr, "Enable MTRR support (default)"); module_param_named(nomtrr, mtrr, invbool, 0); MODULE_PARM_DESC(nomtrr, "Disable MTRR support");