commit | 0889551267e7b6b4d27dc9f726f3d0cb0d976105 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Oct 18 09:24:36 2011 +0300 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Oct 18 13:51:35 2011 -0700 |
tree | 8362482d71e09574db4de0a140984400465659e7 | |
parent | 273d23574f9dacd9c63c80e7d63639a669aad441 [diff] |
USB: gadget: midi: fix range check in f_midi_out_open() ! has higher precedence than >= and since neither 0 nor 1 are greater than 8 the condition is always false. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>