public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Buesch <fsdeveloper@yahoo.de>
To: Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: [PATCH 2.4.21-bk1] AGPGART module compile warning fix
Date: Sat, 5 Jul 2003 20:42:25 +0200	[thread overview]
Message-ID: <200307052042.26077.fsdeveloper@yahoo.de> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

fixes "Warning: assignment from incompatible pointer type"
compiletime warning.

- --- drivers/char/agp/agpgart_be.c.orig  2003-06-13 20:52:36.000000000 +0200
+++ drivers/char/agp/agpgart_be.c       2003-07-05 20:39:10.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);

- -- 
Regards Michael Buesch
http://www.8ung.at/tuxsoft
 20:40:37 up  1:43,  3 users,  load average: 0.04, 0.46, 0.80

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/BxwSoxoigfggmSgRAi2iAJwNsdRGaSwRhadCiwl1sMLbS7nGSwCgg0Gz
RVO5wKcLflF9Ivz9nJc2MqA=
=MM8W
-----END PGP SIGNATURE-----



                 reply	other threads:[~2003-07-05 19:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200307052042.26077.fsdeveloper@yahoo.de \
    --to=fsdeveloper@yahoo.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /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