lkml.org 
[lkml]   [2000]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Constant byteorder macros.
Date
From
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.086 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site