From patchwork Mon Jan 11 13:00:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 360473 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp2910575jai; Mon, 11 Jan 2021 06:09:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJzpWQ8ao9pozrcWd+VhuU2TvFsUWm+pXp3utPDdlwD4AClBF6Q2rFj6uAcpJGx8DYdNv+Y0 X-Received: by 2002:a50:b905:: with SMTP id m5mr13840874ede.292.1610374161332; Mon, 11 Jan 2021 06:09:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610374161; cv=none; d=google.com; s=arc-20160816; b=hoB2I81VoCFkhtZqDYIn+Y0MLuBX7B5h8bd2GodR01K+fft56EoQ0ya8GwD/PNdDa/ T752eJpUJZnCzIlgxEhsLxlMFiVIigZ0QdXRNQql+3W+4fUnRmIRsRMGc652El/mai9/ p3Q7O3Od/OLrPsDieJ6mrAMDXGphrsJcawbUtBi1za7SW7Fi1AK36KGnwDg3ELAJLgy5 sYM42f9qXhhBpc8jC+hSEF504Wo5TbJwhI9oDUaXDsALeyYfDOy5pu3rCLqYsxKvPrgQ zg0mvO7+by+U+Ndoy41eML8hvLfhONB6Y2Fhk3M3J3YD2CGnvXokkUBMdQTaHn/w4rnu d2fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=xlzNnE95/aJKIgKD/AAqT+CfnHoodfFqb65rIkxKQ6Y=; b=u0C4pR++aKtMurhcIZ85TgmkWcsWoa49BgZSn5WaAEe6pJM36txeQO37Ma3STRmUXd eprl8VB6y8910T2BL3UGaPGVUxVQBW1QQGbIU/6/Fn5nWoaoAjHauy9qrk/5yEaCa2Rg 7AyPUAPlYUSPKT51joG6XFzHUTg/J3uXtjBgL3dwUP9zNoAyyk3ETX0RFAi1Ge2vuKck UupwxWndw6OncZwbF1QyA8hmfruaMpNSQSJ1rX8T+9BtM3dkcFodLQIeLYRDeFfEICH4 8ewbLfxlVZ9HKHh2do2S5WlCXz0qRfqZnR4IRCgIyKJumFzRj7eXwCYGVYNSU1P5081c FufQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bdBfYPPl; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i16si6699957eja.375.2021.01.11.06.09.21; Mon, 11 Jan 2021 06:09:21 -0800 (PST) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bdBfYPPl; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727927AbhAKND3 (ORCPT + 14 others); Mon, 11 Jan 2021 08:03:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:50192 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729821AbhAKND2 (ORCPT ); Mon, 11 Jan 2021 08:03:28 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2764722AAB; Mon, 11 Jan 2021 13:02:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610370162; bh=Dq0z0O5AmeE8bFMXWQl6BMHvcoiZexzW3UgJHn+oMvg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bdBfYPPlCG5ZAjeEF0dab2izXO+GbcXEAmGSV8kLTCIxgWwHxWbIymMGZ70E51rB7 xONTkkeqQv+cKZo1WuI9GG2MxCWzLGj/f7XQ/rHxyJ4NRSvfFlL6PRaCEDQRtL6nV7 u8ulvvZCU5lYkkBPjZ6gL4tbPNqb4UqvQKDVRK4I= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann Subject: [PATCH 4.4 26/38] usb: gadget: select CONFIG_CRC32 Date: Mon, 11 Jan 2021 14:00:58 +0100 Message-Id: <20210111130033.718515323@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210111130032.469630231@linuxfoundation.org> References: <20210111130032.469630231@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Arnd Bergmann commit d7889c2020e08caab0d7e36e947f642d91015bd0 upstream. Without crc32 support, this driver fails to link: arm-linux-gnueabi-ld: drivers/usb/gadget/function/f_eem.o: in function `eem_unwrap': f_eem.c:(.text+0x11cc): undefined reference to `crc32_le' arm-linux-gnueabi-ld: drivers/usb/gadget/function/f_ncm.o:f_ncm.c:(.text+0x1e40): more undefined references to `crc32_le' follow Fixes: 6d3865f9d41f ("usb: gadget: NCM: Add transmit multi-frame.") Signed-off-by: Arnd Bergmann Cc: stable Link: https://lore.kernel.org/r/20210103214224.1996535-1-arnd@kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/usb/gadget/Kconfig | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -267,6 +267,7 @@ config USB_CONFIGFS_NCM depends on NET select USB_U_ETHER select USB_F_NCM + select CRC32 help NCM is an advanced protocol for Ethernet encapsulation, allows grouping of several ethernet frames into one USB transfer and @@ -316,6 +317,7 @@ config USB_CONFIGFS_EEM depends on NET select USB_U_ETHER select USB_F_EEM + select CRC32 help CDC EEM is a newer USB standard that is somewhat simpler than CDC ECM and therefore can be supported by more hardware. Technically ECM and