Thomas Hood [email@example.com] wrote:
> I guess the question is: Which way is more portable? Is
> "(unsigned long)-1" liable to turn out as something other than
> If your way of expressing it is more portable then we should
> make the change ... BOTH in pnp_bios.c and in parport_pc.c .
unsigned long is 64-bits on 64-bit archs, and so (unsigned long)-1 will be
different than on intel...
I think that's ~0UL?
Maybe this is why I can't get pnp stuff to work on my alpha?
Bob McElrath (firstname.lastname@example.org)=20
Univ. of Wisconsin at Madison, Department of Physics
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/