Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: Richard Henderson <rth@redhat.com>,
	axp-list mailing list <axp-list@redhat.com>
Subject: Re: [PATCH] [RESENT] compilation warnings 1/6
Date: Fri, 8 Nov 2002 20:32:11 -0800	[thread overview]
Message-ID: <20021108203211.A3169@twiddle.net> (raw)
In-Reply-To: <20021109010039.D18411@Marvin.DL8BCU.ampr.org>; from dl8bcu@dl8bcu.de on Sat, Nov 09, 2002 at 01:00:40AM +0000

On Sat, Nov 09, 2002 at 01:00:40AM +0000, Thorsten Kranzkowski wrote:
> +++ linux-2.5.46-ds20/arch/alpha/kernel/setup.c	Fri Nov  8 23:34:16 2002
> @@ -202,7 +202,7 @@
>  	};
>  
>  	struct resource *io = &ioport_resource;
> -	long i;
> +	unsigned long i;

For future reference, sizeof (and thus the N macro) returns a
value of type size_t.  It's better to match when possible.

Thanks for the annotations.  This is exactly what I was looking for.

First patch applied.


r~




      parent reply	other threads:[~2002-11-09  4:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-09  1:00 [PATCH] [RESENT] compilation warnings 1/6 Thorsten Kranzkowski
2002-11-09  1:03 ` [PATCH] [RESENT] compilation warnings 2/6 Thorsten Kranzkowski
2002-11-09  1:05   ` [PATCH] [RESENT] compilation warnings 3/6 Thorsten Kranzkowski
2002-11-09  1:07     ` [PATCH] [RESENT] compilation warnings 4/6 Thorsten Kranzkowski
2002-11-09  1:08       ` [PATCH] [RESENT] compilation warnings 5/6 Thorsten Kranzkowski
2002-11-09  1:13         ` [PATCH] [RESENT] compilation warnings 6/6 Thorsten Kranzkowski
2002-11-09  1:47       ` [PATCH] [RESENT] compilation warnings 4/6 Michal Jaegermann
2002-11-09  5:51       ` Richard Henderson
2002-11-09  4:50     ` [PATCH] [RESENT] compilation warnings 3/6 Richard Henderson
2002-11-09 19:14       ` Peter Rival
2002-11-09 21:29         ` Michal Jaegermann
2002-11-14  6:44         ` Richard Henderson
2002-11-09  4:32 ` Richard Henderson [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox