All of lore.kernel.org
 help / color / mirror / Atom feed
* PATCH: fix "assignment from incopatible pointer type" in amd-k7-agp.c
@ 2003-01-07 13:06 Muli Ben-Yehuda
  2003-01-07 13:18 ` Dave Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Muli Ben-Yehuda @ 2003-01-07 13:06 UTC (permalink / raw)
  To: Dave Jones; +Cc: Linux-Kernel

agp_bridge.gatt_table and agp_bridge.gatt_table_real are both
u32*. Cast unsignments to them from unsigned long*'s to u32*'s. 

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.973   -> 1.974  
#	drivers/char/agp/amd-k7-agp.c	1.13    -> 1.14   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/01/07	mulix@alhambra.mulix.org	1.974
# fix "assignment from incompatible pointer type". 
# --------------------------------------------
#
diff -Nru a/drivers/char/agp/amd-k7-agp.c b/drivers/char/agp/amd-k7-agp.c
--- a/drivers/char/agp/amd-k7-agp.c	Tue Jan  7 14:16:34 2003
+++ b/drivers/char/agp/amd-k7-agp.c	Tue Jan  7 14:16:34 2003
@@ -138,8 +138,8 @@
 		return retval;
 	}
 
-	agp_bridge.gatt_table_real = (unsigned long *)page_dir.real;
-	agp_bridge.gatt_table = (unsigned long *)page_dir.remapped;
+	agp_bridge.gatt_table_real = (u32 *)page_dir.real;
+	agp_bridge.gatt_table = (u32 *)page_dir.remapped;
 	agp_bridge.gatt_bus_addr = virt_to_phys(page_dir.real);
 
 	/* Get the address for the gart region.

-- 
Muli Ben-Yehuda

my opinions may seem crazy. But they all make sense. Insane sense, but
sense nontheless. -- Shlomi Fish on #offtopic.


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

* Re: PATCH: fix "assignment from incopatible pointer type" in amd-k7-agp.c
  2003-01-07 13:06 PATCH: fix "assignment from incopatible pointer type" in amd-k7-agp.c Muli Ben-Yehuda
@ 2003-01-07 13:18 ` Dave Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Jones @ 2003-01-07 13:18 UTC (permalink / raw)
  To: Muli Ben-Yehuda; +Cc: Linux-Kernel

On Tue, Jan 07, 2003 at 03:06:39PM +0200, Muli Ben-Yehuda wrote:
 > agp_bridge.gatt_table and agp_bridge.gatt_table_real are both
 > u32*. Cast unsignments to them from unsigned long*'s to u32*'s. 

Looks good, similar fixes also needed for sworks-agp.c by the
looks of things. I'll fix that up..

		Dave

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs

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

end of thread, other threads:[~2003-01-07 13:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-07 13:06 PATCH: fix "assignment from incopatible pointer type" in amd-k7-agp.c Muli Ben-Yehuda
2003-01-07 13:18 ` Dave Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.