commit | 02ae1293f788dde008297a80fcf38b8bd3426383 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <felipe.balbi@linux.intel.com> | Wed Feb 22 17:12:39 2017 +0200 |
committer | Marek Vasut <marex@denx.de> | Fri Apr 14 16:44:16 2017 +0200 |
tree | cec0448effa0dcc4b741e8bcd00eccb06bdfb40f | |
parent | 327c24d880cb7f2d5a1235cfe017d42fe24f1d83 [diff] |
usb: gadget: g_dnl: hold maximum string descriptor A USB String descriptor can be up to 255 characters long and it's not NULL terminated according to the USB spec. This means our MAX_STRING_SERIAL should be 256 (to cope with NULL terminator). Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>