]> git.baikalelectronics.ru Git - kernel.git/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)
commit97d444072719f0620538e2cffc7b59d0fb1b1974
tree47ddcace761e2c26da0dafc437cef5a2ec852183
parent0243aaa05c4171d3fb0fb6f08df3eede5e80862e
[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