summaryrefslogtreecommitdiff
path: root/drivers/usb/host/isp1760-hcd.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2011-10-18 10:24:36 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-19 00:51:35 +0400
commit0889551267e7b6b4d27dc9f726f3d0cb0d976105 (patch)
tree8362482d71e09574db4de0a140984400465659e7 /drivers/usb/host/isp1760-hcd.h
parent273d23574f9dacd9c63c80e7d63639a669aad441 (diff)
downloadlinux-0889551267e7b6b4d27dc9f726f3d0cb0d976105.tar.xz
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>
Diffstat (limited to 'drivers/usb/host/isp1760-hcd.h')
0 files changed, 0 insertions, 0 deletions