Re: [BUG] Compile failure (gcc 2.96 bug?). 2.5.42 raid0.c

Arjan van de Ven (arjanv@fenrus.demon.nl)
14 Oct 2002 23:11:55 +0200


--=-jNyoDj4GFF5/0Z6jQegI
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2002-10-14 at 22:54, Arjan van de Ven wrote:
> On Mon, 2002-10-14 at 22:27, David Mansfield wrote:
> >
> > - sector_t x =3D block;
> > + volatile sector_t y =3D 0;
> > + sector_t x =3D block - y;
> > sector_div(x, (unsigned long)conf->smallest->size);
> > hash =3D conf->hash_table + x;
> > }
> this appears to be a bad code bug; do_div() requires the first argument
> to be an u64 and we cast it to unsigned long here....

ehm ignore me I'm blind

--=-jNyoDj4GFF5/0Z6jQegI
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

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

iD8DBQA9qzMbxULwo51rQBIRAt6bAKCLME3E/5/Ufo/+nHlmqOFwVQLjxACfe9w1
RTNyOKsbzzpK+eX4w0SwlME=
=IWYb
-----END PGP SIGNATURE-----

--=-jNyoDj4GFF5/0Z6jQegI--

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