From 8980156aba1cbc9fc234c930492b9f942665fec8 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 7 Jan 2013 22:03:51 +0100 Subject: [PATCH] --- yaml --- r: 348732 b: refs/heads/master c: 6102c48bd421074a33e102f2ebda3724e8d275f9 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/staging/speakup/synth.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 1fcb69340a12..fb2fb6271e89 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ae428655b826f2755a8101b27beda42a275ef8ad +refs/heads/master: 6102c48bd421074a33e102f2ebda3724e8d275f9 diff --git a/trunk/drivers/staging/speakup/synth.c b/trunk/drivers/staging/speakup/synth.c index b91d22b6330f..7616f058a00b 100644 --- a/trunk/drivers/staging/speakup/synth.c +++ b/trunk/drivers/staging/speakup/synth.c @@ -423,7 +423,7 @@ int synth_add(struct spk_synth *in_synth) int i; int status = 0; mutex_lock(&spk_mutex); - for (i = 0; synths[i] != NULL && i < MAXSYNTHS; i++) + for (i = 0; i < MAXSYNTHS && synths[i] != NULL; i++) /* synth_remove() is responsible for rotating the array down */ if (in_synth == synths[i]) { mutex_unlock(&spk_mutex);