]> err.no Git - linux-2.6/commit
[PATCH] drivers/input/keyboard/atkbd.c: fix off by one errors
authorAdrian Bunk <bunk@stusta.de>
Tue, 17 May 2005 04:53:38 +0000 (21:53 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 17 May 2005 14:59:17 +0000 (07:59 -0700)
commit53b21689ba567ad437e4d7917dd9da54a8d6fd5c
treec8cdaab37c1ac04fbf9a8baf01122a55f69ee741
parent7a019225c797a1047470accee950d69cfe7c59c5
[PATCH] drivers/input/keyboard/atkbd.c: fix off by one errors

This patch fixes two possible off by one errors found by the Coverity
checker (look at the period[i] and delay[j] in the two first unchanged
lines).

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Vojtech Pavlik <vojtech@suse.cz>
Cc: Dmitry Torokhov <dtor_core@ameritech.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/input/keyboard/atkbd.c