Re: [PATCH 1/4] sound/isa: use unsigned for loop index

From: Alexey Dobriyan
Date: Sun May 11 2008 - 11:48:55 EST


On Sun, May 11, 2008 at 02:50:33PM +0200, Julia Lawall wrote:
> A few more cases in the spirit of the patch "Trivial: Replacement of always
> >0 ints with unsigned ints" submitted by Ricardo Martins <ricardo@xxxxxxxxxxxx>

And rationale for those would be ...?

> --- a/sound/isa/es1688/es1688_lib.c
> +++ b/sound/isa/es1688/es1688_lib.c
> @@ -101,7 +101,7 @@ static unsigned char snd_es1688_mixer_re
>
> static int snd_es1688_reset(struct snd_es1688 *chip)
> {
> - int i;
> + unsigned int i;
>
> outb(3, ES1688P(chip, RESET)); /* valid only for ESS chips, SB -> 1 */
> udelay(10);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/