From: Muli Ben-Yehuda <mulix@mulix.org>
To: Dave Jones <davej@codemonkey.org.uk>
Cc: Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: PATCH: fix "assignment from incopatible pointer type" in amd-k7-agp.c
Date: Tue, 7 Jan 2003 15:06:39 +0200 [thread overview]
Message-ID: <20030107130639.GH25540@alhambra> (raw)
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.
next reply other threads:[~2003-01-07 12:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-07 13:06 Muli Ben-Yehuda [this message]
2003-01-07 13:18 ` PATCH: fix "assignment from incopatible pointer type" in amd-k7-agp.c Dave Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030107130639.GH25540@alhambra \
--to=mulix@mulix.org \
--cc=davej@codemonkey.org.uk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.