]> git.hungrycats.org Git - linux/commit
[PATCH] ncpfs (1/7): constants sanitized
authorAlexander Viro <viro@www.linux.org.uk>
Wed, 6 Oct 2004 00:52:50 +0000 (17:52 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 6 Oct 2004 00:52:50 +0000 (17:52 -0700)
commitc3d28db7b8fa9063523783f4ffa0b72f16801f8c
treeebd0db78553f1df3192f3010512c12f8b728515d
parent494c97a27c96e233b933e0bf3abbcf86d473f68b
[PATCH] ncpfs (1/7): constants sanitized

That's the beginning of ncpfs endianness cleanup.
* converted fixed-endian constants to little-endian (i.e. replaced
htons(0xCDAB) with cpu_to_le16(0xABCD), etc.).  These guys _are_ little-endian
and make much more sense that way, even aside of annotation issues.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ncpfs/ncplib_kernel.c
fs/ncpfs/symlink.c
include/linux/ncp.h
include/linux/ncp_no.h