From patchwork Mon Jan 11 13:01:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 360470 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp2908724jai; Mon, 11 Jan 2021 06:07:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJxd21Ry6DpwczftIIVM7/FmvdQvb3z9Zh7FKw4AuLEklRtVNn2hzCs4oP+xJpbVgBDfmsDr X-Received: by 2002:a50:fb1a:: with SMTP id d26mr14111928edq.101.1610374041135; Mon, 11 Jan 2021 06:07:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610374041; cv=none; d=google.com; s=arc-20160816; b=RUGh9jFXkP/uGHO4LNxp4mhQW/xTC2MIdLZDyjfVUdmRg52IM/NUITp4Ol2dtxOgwh u++SMiFyMLArgdQYT+Sqd+P9PrRV0lzicyVMbkjMwoVuyd3QZzAnh34NrZsXL06kGi1v aM0oCTERJEsqIjxo2EugOLY2iWcRZ2+UgJ6wMaO6g9Rim7g2on1TmcFXAVVBRIg7TBb8 9N6JSaR3/c3j7gOQVyL2AlzCiLIIp/e8DfY0E0BmzU9kpiFQiOiH5QzhT/EEAk/n2uPY 7trppztWgXYzZ+wxSFTsOph402W7dG7c8aN/0n1SHa8YUB6jmFnqHVgZry5OpCbinNjT 51/A== 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=K0NDLowwnDzGWNaghovc1O2ZnH1ilr9RA2GalgQNzBk=; b=X2DBUi4JQ9lQJjCdAe3SRwSPxVJZsYA82gkupBTcsD+PBmF3DOfUTRTJ/PqTC62OHq IXd0g/da53x35IDW+DSVg+eS53NF2Gr0rEfFaq2UzxEMuTJTG39L1Ir4mRzbjxPqMhuI eH14wLNhX6G0rJ0a1PUuY5DP956xWUs0OrmeUDNG8Ft4X1QB4z+Dl94m6W5TL0PPqZw+ pGyxQTv2r90qzqDeUWusxYXz76MRFTCIxwuaknIvNmubuxoMmsKfqYCxyrSUJQFCpCcF Zw5r0CNx30ZdElrWWVLitMulmv5ZuL347tNDwAZAYS6+znc3INlu+vwB26RfW76Vo05D kMXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JwjELWKU; 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 n26si4324641ejg.362.2021.01.11.06.07.20; Mon, 11 Jan 2021 06:07: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=JwjELWKU; 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 S1730361AbhAKOFm (ORCPT + 14 others); Mon, 11 Jan 2021 09:05:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:50194 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730083AbhAKNEA (ORCPT ); Mon, 11 Jan 2021 08:04:00 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7828B2255F; Mon, 11 Jan 2021 13:03:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610370224; bh=ebq/lvUZrQGdlPxBXL+zHJgRhb7155BfBW0ebW12G98=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JwjELWKU9JYGQ/ZmMoifvQjuDsruVjPqlfDm/6m1aDmI8Dvxk5GF3GqT9zFQOYPWq Ee5IrrnNIzZhjwGmiqp2RInvNU+5AlLAHYtMhKDZshZ7zcWsp8JRIK5tULRZgQbchS 3mGETFR9zNVwu2/9hF5QZqgTTQc1DEnM8ebqo4ng= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann Subject: [PATCH 4.9 32/45] usb: gadget: select CONFIG_CRC32 Date: Mon, 11 Jan 2021 14:01:10 +0100 Message-Id: <20210111130035.200444302@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210111130033.676306636@linuxfoundation.org> References: <20210111130033.676306636@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 @@ -258,6 +258,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 @@ -307,6 +308,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