diff options
author | 2010-05-18 08:15:21 +0000 | |
---|---|---|
committer | 2010-05-21 17:31:08 +1000 | |
commit | ca5d0674c37840366f04a7bbfbf78e7b5f3ce0a4 (patch) | |
tree | 14f6b84f0eca9909108d0dc222d0fb64fc437ee9 /net/ipv4/tcp_timer.c | |
parent | powerpc/rtasd: Don't start event scan if scan rate is zero (diff) | |
download | linux-dev-ca5d0674c37840366f04a7bbfbf78e7b5f3ce0a4.tar.xz linux-dev-ca5d0674c37840366f04a7bbfbf78e7b5f3ce0a4.zip |
powerpc: Fix string library functions
The powerpc strncmp implementation does not correctly handle a zero
length, despite the claim in 0119536cd314ef95553604208c25bc35581f7f0a
(Add hand-coded assembly strcmp).
Additionally, all the length arguments are size_t, not int, so use
PPC_LCMPI and eq instead of cmpwi and le throughout.
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions