From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4AB4DC433E0 for ; Thu, 18 Jun 2020 08:21:14 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 071972166E for ; Thu, 18 Jun 2020 08:21:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="b/e3GGaJ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="MwaAHevJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 071972166E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ymzJgmVwzCLRJrNjN0IzhLZZSiZ9fk361jXPqKGqB30=; b=b/e3GGaJqM0p/y bLNYUvywGUVCLmg1yOeE07iKTs/icBR1ccGftSdRfbip7P4y+0lgEEnPJCNjmO9rcCn3Yn4RBmTYA 3waA3YWhUn0/yt2nHnzTMpLaGYKzOvogaX1AvAJfq4SXjGKBs5PIMwdQwRMOFp6p8GE5W+EmmXfVA TnQ6s/RvUq/EAEg26nuHeAk7sFpfYkr7D9WPKnafLqiy4R3mqYK6AworRRwsiHqnHYDHh2olH+JMU b6D3AHMR65X3A7p1vDbTk7YAAw9oZXzZobLu/Ld8Pp9AKo6i5T5qF6nccRR9Kz433+fzrjffVGrEV kH5R2uPh4eMOM71QCteg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jlpnH-0000Xj-QD; Thu, 18 Jun 2020 08:21:07 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jlpnE-0000XC-22; Thu, 18 Jun 2020 08:21:06 +0000 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D58652166E; Thu, 18 Jun 2020 08:21:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592468462; bh=i7/azv2TIyitmWBxI8oESfdLcS5YpjhAKYG10IPi8qM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MwaAHevJxbmGhQOPCng+twAill0hon0Zl/MAunJDD+uOpVJiSgR1DakpD/8Rk/gdA +zNVGnTdTaJ3krZC+P0UcO7vSvxwDNyuP3nbD1eyiNmbPuKIoEqXKP0lt86Hp8dVVn SJIQd+0mvrThE5z2GK0Vra+yPesqHuK57QAOEEsk= Date: Thu, 18 Jun 2020 10:20:55 +0200 From: Greg Kroah-Hartman To: Macpaul Lin Subject: Re: [PATCH v2] usb: replace hardcode maximum usb string length by definition Message-ID: <20200618082055.GA1049665@kroah.com> References: <1591939967-29943-1-git-send-email-macpaul.lin@mediatek.com> <1592201855-8218-1-git-send-email-macpaul.lin@mediatek.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1592201855-8218-1-git-send-email-macpaul.lin@mediatek.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200618_012105_842513_A62F5625 X-CRM114-Status: UNSURE ( 9.44 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Felipe Balbi , Mediatek WSD Upstream , linux-usb@vger.kernel.org, Jim Lin , linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, Matthias Brugger , Alan Stern , Macpaul Lin , linux-arm-kernel@lists.infradead.org, Siqi Lin Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 > --- > 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel