usb: acm gadget: Null termintate strings table
authorGraham Williams <gwilli@broadcom.com>
Wed, 28 Aug 2013 23:36:14 +0000 (16:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Sep 2013 14:06:46 +0000 (07:06 -0700)
commita14894e25d0c5c1871e4e8c52f3d54517f0e459b
treeed63bdb818510fc7c3eccd6364270bffb76aa470
parenta091ec1987ef9e73d8cb970fe885af1483e6e4c7
usb: acm gadget: Null termintate strings table

commit d257221854f0b34cca3247e6c45344d0470f7398 upstream.

The gadget strings table should be null terminated.
usb_gadget_get_string() loops through the table
expecting a null at the end of the list.

Signed-off-by: Graham Williams <gwilli@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/f_acm.c