public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] staging: xgifb: Fix compile warning
@ 2010-09-04 23:06 Javier Martinez Canillas
  2010-09-05  6:23 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Javier Martinez Canillas @ 2010-09-04 23:06 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Bill Pemberton, Arnaud Patard, Randy Dunlap,
	Huang Weiyi, devel, linux-kernel

Hello, In today linux-next I got a some compile warnings with the staging/xgifb driver. This is the first of a 4 patchset that fix all the issues.

The patches are:

[PATCH 1/4] staging: xgifb: Fix compile warning
[PATCH 2/4] staging: xgifb: Add compilation conditionals
[PATCH 3/4] staging: xgifb: Removes unused variable
[PATCH 4/4] staging: xgifb: Init uninitialized variables and fix some style issues

Thanks a lot.

Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com>
---
 drivers/staging/xgifb/XGI_main_26.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c
index 7cd3e95..3c80191 100644
--- a/drivers/staging/xgifb/XGI_main_26.c
+++ b/drivers/staging/xgifb/XGI_main_26.c
@@ -3418,7 +3418,7 @@ static int __devinit xgifb_probe(struct pci_dev *pdev,
 		XGIfb_registered = 1;
 
 		printk(KERN_INFO "XGIfb: Installed XGIFB_GET_INFO ioctl (%lx)\n",
-		       XGIFB_GET_INFO);
+		       (unsigned long)XGIFB_GET_INFO);
 
 /*		printk(KERN_INFO "XGIfb: 2D acceleration is %s, scrolling mode %s\n",
 		     XGIfb_accel ? "enabled" : "disabled",
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-05  6:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-04 23:06 [PATCH 1/4] staging: xgifb: Fix compile warning Javier Martinez Canillas
2010-09-05  6:23 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox