From: Maciej Soltysiak <solt@dns.toxicfilms.tv>
To: "xosé vázquez pérez" <xose@wanadoo.es>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [ Compile Regression on i386 ]-2.4.21-rc1 general summary
Date: Fri, 25 Apr 2003 22:28:05 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.51.0304252226340.15943@dns.toxicfilms.tv> (raw)
In-Reply-To: <3EA98CBD.6070106@wanadoo.es>
Hi,
> Warning List:
>
> agpgart_be.c:2453: warning: assignment from incompatible pointer type
> agpgart_be.c:2454: warning: assignment from incompatible pointer type
> agpgart_be.c:2480: warning: assignment from incompatible pointer type
> agpgart_be.c:2481: warning: assignment from incompatible pointer type
> agpgart_be.c:3562: warning: assignment from incompatible pointer type
> agpgart_be.c:3563: warning: assignment from incompatible pointer type
> agpgart_be.c:3591: warning: assignment from incompatible pointer type
> agpgart_be.c:3592: warning: assignment from incompatible pointer type
> agpgart_be.c:580: warning: assignment from incompatible pointer type
I remember sending a patch for that 2.4.21pre7 time. Here it is.
Regards,
Maciej Soltysiak
diff -Nru linux-2.4.20.orig/drivers/char/agp/agpgart_be.c linux-2.4.20/drivers/char/agp/agpgart_be.c
--- linux-2.4.20.orig/drivers/char/agp/agpgart_be.c 2003-04-05 17:02:17.000000000 +0200
+++ linux-2.4.20/drivers/char/agp/agpgart_be.c 2003-04-05 17:19:07.000000000 +0200
@@ -577,7 +577,7 @@
for (page = virt_to_page(table); page <= virt_to_page(table_end); page++)
SetPageReserved(page);
- agp_bridge.gatt_table_real = (unsigned long *) table;
+ agp_bridge.gatt_table_real = (u32 *) table;
agp_gatt_table = (void *)table;
#ifdef CONFIG_X86
err = change_page_attr(virt_to_page(table), 1<<page_order, PAGE_KERNEL_NOCACHE);
@@ -2315,8 +2315,8 @@
#ifdef CONFIG_AGP_AMD
typedef struct _amd_page_map {
- unsigned long *real;
- unsigned long *remapped;
+ u32 *real;
+ u32 *remapped;
} amd_page_map;
static struct _amd_irongate_private {
@@ -2330,7 +2330,7 @@
int i;
int err = 0;
- page_map->real = (unsigned long *) __get_free_page(GFP_KERNEL);
+ page_map->real = (u32 *) __get_free_page(GFP_KERNEL);
if (page_map->real == NULL) {
return -ENOMEM;
}
@@ -2590,7 +2590,7 @@
off_t pg_start, int type)
{
int i, j, num_entries;
- unsigned long *cur_gatt;
+ u32 *cur_gatt;
unsigned long addr;
num_entries = A_SIZE_LVL2(agp_bridge.current_size)->num_entries;
@@ -2631,7 +2631,7 @@
int type)
{
int i;
- unsigned long *cur_gatt;
+ u32 *cur_gatt;
unsigned long addr;
if (type != 0 || mem->type != 0) {
prev parent reply other threads:[~2003-04-25 20:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-25 19:30 [ Compile Regression on i386 ]-2.4.21-rc1 general summary xosé vázquez pérez
2003-04-25 20:28 ` Maciej Soltysiak [this message]
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=Pine.LNX.4.51.0304252226340.15943@dns.toxicfilms.tv \
--to=solt@dns.toxicfilms.tv \
--cc=linux-kernel@vger.kernel.org \
--cc=xose@wanadoo.es \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).