lkml.org 
[lkml]   [2020]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] usb: replace hardcode maximum usb string length by definition
On Mon, Jun 15, 2020 at 02:17:35PM +0800, Macpaul Lin wrote:
> Replace hardcode maximum usb string length (126 bytes) by definition
> "MAX_USB_STRING_LEN".
>
> Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
> ---
> Changes for v2:
> - Add definition "MAX_USB_STRING_LEN" in ch9.h instead of in usb.h.
> Thanks for Alan's suggestion.
>
> drivers/usb/gadget/composite.c | 4 ++--
> drivers/usb/gadget/configfs.c | 2 +-
> drivers/usb/gadget/usbstring.c | 4 ++--
> include/uapi/linux/usb/ch9.h | 3 +++
> 4 files changed, 8 insertions(+), 5 deletions(-)

This patch fails to apply to my tree (or to 5.8-rc1). Please rebase it
and resend.

thanks,

greg k-h

\
 
 \ /
  Last update: 2020-06-18 10:22    [W:0.084 / U:0.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site