From patchwork Thu May 26 14:13:33 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Lutomirski X-Patchwork-Id: 820962 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p4QEDx6v011604 for ; Thu, 26 May 2011 14:13:59 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757972Ab1EZON7 (ORCPT ); Thu, 26 May 2011 10:13:59 -0400 Received: from DMZ-MAILSEC-SCANNER-4.MIT.EDU ([18.9.25.15]:63011 "EHLO dmz-mailsec-scanner-4.mit.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752435Ab1EZON6 (ORCPT ); Thu, 26 May 2011 10:13:58 -0400 X-AuditID: 1209190f-b7c4dae0000007bd-4b-4dde60285896 Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) by dmz-mailsec-scanner-4.mit.edu (Symantec Messaging Gateway) with SMTP id 78.60.01981.8206EDD4; Thu, 26 May 2011 10:14:00 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id p4QEDvjR007219; Thu, 26 May 2011 10:13:57 -0400 Received: from localhost (207-172-69-77.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com [207.172.69.77]) (authenticated bits=0) (User authenticated as luto@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id p4QEDs9V028115 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 26 May 2011 10:13:57 -0400 (EDT) From: Andy Lutomirski To: Peter Jones , linux-fbdev@vger.kernel.org Cc: Andy Lutomirski Subject: [PATCH 3/4] efifb: Fix an integer-to-pointer size warning Date: Thu, 26 May 2011 10:13:33 -0400 Message-Id: <0c405ceeca72c92d25cb6ee4bc92c35d2cb15019.1306418703.git.luto@mit.edu> X-Mailer: git-send-email 1.7.5.1 In-Reply-To: References: In-Reply-To: References: X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPIsWRmVeSWpSXmKPExsUixCmqrKuRcM/XYM11PYu+K0fZLU70fWC1 6Fp4g92B2WPnrLvsHu/3XWXz+LxJLoA5issmJTUnsyy1SN8ugSvj76pJTAUNbBVXPixma2D8 zdLFyMEhIWAicfx0fBcjJ5ApJnHh3no2EFtIYB+jRFt7WRcjF5C9gVFi0/65rBDOMyaJ2efn sYJUsQmoSHQsfcAEYosIOEjMWtXLAmIzCyhJPNnzDaxGWMBJovHFC3YQm0VAVeLmvHdsIIt5 BYIk3h+RgFisIHHlyjywVk4BA4m3Hc9YQUqEBPQltqwzwCE8gVFgASPDKkbZlNwq3dzEzJzi 1GTd4uTEvLzUIl0TvdzMEr3UlNJNjOBQk+TfwfjtoNIhRgEORiUe3jqFu75CrIllxZW5hxgl OZiURHmN4+75CvEl5adUZiQWZ8QXleakFh9ilOBgVhLhVYoCyvGmJFZWpRblw6SkOViUxHln Sar7CgmkJ5akZqemFqQWwWRlODiUJHg3gwwVLEpNT61Iy8wpQUgzcXCCDOcBGr4EpIa3uCAx tzgzHSJ/itGY4+mnHwcYOabe/n2AUYglLz8vVUocYpwASGlGaR7cNFi6eMUoDvScMO96kCoe YKqBm/cKaBUT0Cqd33dBVpUkIqSkGhh5l/wOSb7TuNu/YOHi44wTRGVjPilOyrbKfmel6h9k +2pmJt/TizMNRY7NSZFYtVvpw8QWqZOX17+VW7X8Rn6O/Wulw1pfP2yufRu+1kS37ZBAbuHk k5aRwn7J3N9nhvFPefp49z5L7+XPnK5UfUr9oZsbyxl/9V+VSbXUc6+HbbUHRWekntqpxFKc kWioxVxUnAgA4V8tbPICAAA= Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Thu, 26 May 2011 14:14:00 +0000 (UTC) Signed-off-by: Andy Lutomirski Signed-off-by: Peter Jones --- drivers/video/efifb.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/video/efifb.c b/drivers/video/efifb.c index 43af770..39bbfa9 100644 --- a/drivers/video/efifb.c +++ b/drivers/video/efifb.c @@ -246,8 +246,9 @@ static int set_system(const struct dmi_system_id *id) printk(KERN_INFO "efifb: dmi detected %s - framebuffer at %p " "(%dx%d, stride %d)\n", id->ident, - (void *)screen_info.lfb_base, screen_info.lfb_width, - screen_info.lfb_height, screen_info.lfb_linelength); + (void *)(unsigned long)screen_info.lfb_base, + screen_info.lfb_width, screen_info.lfb_height, + screen_info.lfb_linelength); return 1;