Messages in this thread | | | Subject | Re: Constant byteorder macros. | Date | Mon, 24 Jan 2000 14:15:36 +0000 (GMT) | From | Alan Cox <> |
| |
> alan@lxorguk.ukuu.org.uk said: > > You are correct it is wrong. Its been removed in 2.2.x and I sent > > Linus the forward port of JJ's fix to 2.3.x a couple of days ago. > > htonl() itself is wrong, using the letter 'l' to denote something which isn't > a long.
Yes but you need to pop back 20 years to Berkeley and change time to fix that one. While you doing that I have a list of ...
> This is legacy stuff - so perhaps it should be left - although if it's not
There is a standard for htonl() and it returns a 32bit type.
> There's no real excuse for continuing to use [bwl] suffixes for other macros > like PCI access, though - is there?
b/w/d would make more sense in PCI nomenclature. Too late
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |