]> err.no Git - linux-2.6/commit
[NET]: M32R checksum annotations and cleanups.
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 15 Nov 2006 05:16:55 +0000 (21:16 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:23:06 +0000 (21:23 -0800)
commit85d20dee20f0958df1615e73698f6b0c525812f7
tree47ddcace761e2c26da0dafc437cef5a2ec852183
parent322529961e3b3e64fdf1a3e46a45294456c91acf
[NET]: M32R checksum annotations and cleanups.

* sanitize prototypes, annotate
* ntohs -> shift in checksum calculations in l-e case
* kill shift-by-16 in checksum calculations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/m32r/lib/csum_partial_copy.c
include/asm-m32r/checksum.h