public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Olaf Dietrich <odt@dtrx.de>
To: linux-kernel@vger.kernel.org
Cc: Marcelo Tosatti <marcelo@conectiva.com.br>
Subject: Re: Linux 2.4.21-rc5
Date: Wed, 28 May 2003 10:10:20 +0200	[thread overview]
Message-ID: <20030528081020.GE626@gracvn> (raw)
In-Reply-To: <Pine.LNX.4.55L.0305271640320.9487@freak.distro.conectiva>

[-- Attachment #1: Type: text/plain, Size: 90 bytes --]

Attached are two tiny type-related fixes for
2.4.21-rc5 to avoid compiler warnings.

Olaf

[-- Attachment #2: type-fix.diff --]
[-- Type: text/plain, Size: 1174 bytes --]

diff -Nur linux-2.4.21-rc5/drivers/char/agp/agpgart_be.c linux-2.4.21-rc5.n/drivers/char/agp/agpgart_be.c
--- linux-2.4.21-rc5/drivers/char/agp/agpgart_be.c	Wed May 28 08:54:24 2003
+++ linux-2.4.21-rc5.n/drivers/char/agp/agpgart_be.c	Wed May 28 09:32:54 2003
@@ -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);
diff -Nur linux-2.4.21-rc5/fs/ext2/balloc.c linux-2.4.21-rc5.n/fs/ext2/balloc.c
--- linux-2.4.21-rc5/fs/ext2/balloc.c	Wed May 28 08:54:37 2003
+++ linux-2.4.21-rc5.n/fs/ext2/balloc.c	Wed May 28 09:18:36 2003
@@ -520,7 +520,7 @@
 	    in_range (tmp, le32_to_cpu(gdp->bg_inode_table),
 		      EXT2_SB(sb)->s_itb_per_group)) {
 		ext2_error (sb, "ext2_new_block",
-			    "Allocating block in system zone - block = %lu",
+			    "Allocating block in system zone - block = %u",
 			    tmp);
 		ext2_set_bit(j, bh->b_data);
 		DQUOT_FREE_BLOCK(inode, 1);

  parent reply	other threads:[~2003-05-28  7:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-27 19:41 Linux 2.4.21-rc5 Marcelo Tosatti
2003-05-27 20:53 ` Alex Romosan
2003-05-27 20:36   ` Alan Cox
2003-05-27 21:53   ` Marcelo Tosatti
2003-05-27 22:35 ` [PATCH] IDE config correctness (was: Linux 2.4.21-rc5) Carl-Daniel Hailfinger
2003-05-28  5:46 ` Linux 2.4.21-rc5: [RESENT PATCH] kernel with Old ide hard disk only support doesn't build Jerome Chantelauze
2003-05-28  8:10 ` Olaf Dietrich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-05-27 20:48 Linux 2.4.21-rc5 Mitch
2003-05-27 21:17 ` Marc-Christian Petersen
2003-05-27 21:45   ` Adrian Bunk
2003-05-27 20:56 Margit Schubert-While
2003-05-27 21:33 Chris Rankin
2003-05-28  2:25 Jason Papadopoulos

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=20030528081020.GE626@gracvn \
    --to=odt@dtrx.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