From: Finn Thain <fth...@telegraphics.com.au> 3.12-stable review patch. If anyone has any objections, please let me know.
=============== commit b24f670b7f5b2058b95370caa9f104b3cefb9f1d upstream. Reported-by: David Binderman <dcb...@hotmail.com> Signed-off-by: Finn Thain <fth...@telegraphics.com.au> Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Signed-off-by: Jiri Slaby <jsl...@suse.cz> --- arch/m68k/mac/oss.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/m68k/mac/oss.c b/arch/m68k/mac/oss.c index 6c4c882c126e..f32a8817cc79 100644 --- a/arch/m68k/mac/oss.c +++ b/arch/m68k/mac/oss.c @@ -48,9 +48,8 @@ void __init oss_init(void) /* Disable all interrupts. Unlike a VIA it looks like we */ /* do this by setting the source's interrupt level to zero. */ - for (i = 0; i <= OSS_NUM_SOURCES; i++) { + for (i = 0; i < OSS_NUM_SOURCES; i++) oss->irq_level[i] = 0; - } } /* -- 2.4.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/