Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348732
b: refs/heads/master
c: 6102c48
h: refs/heads/master
v: v3
  • Loading branch information
Samuel Thibault authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent 60f6eaf commit 8980156
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ae428655b826f2755a8101b27beda42a275ef8ad
refs/heads/master: 6102c48bd421074a33e102f2ebda3724e8d275f9
2 changes: 1 addition & 1 deletion trunk/drivers/staging/speakup/synth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8980156

Please sign in to comment.