Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2260666pxb; Mon, 11 Jan 2021 05:26:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJxvYCncFH0yqLNqEjJUcsbk8ro8Gu39jgBMMXD7qfkYhMvKeuRcUmdlMjjALbyNc2s5pSrT X-Received: by 2002:a17:906:aacd:: with SMTP id kt13mr10508012ejb.527.1610371579207; Mon, 11 Jan 2021 05:26:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610371579; cv=none; d=google.com; s=arc-20160816; b=DJydxP02u0PZwVjFcDOpzbBwTH/Kant9jrBZGrbxOWDbWpQIPEi9rQqcjurUX2g+GX TyI0Dl7kJWd5SB5JWm4gByP4lgPfC+4fIpN6wEAkeKDJyOvE5ZV4z/ubJlKqbRoZcm8H OWviZM/nt+VuzwOFtfenERpkmnJObUfX+maqZM/8NUB6C1STjfSz8TpRj9LACNv8wcKF 74o4jaTwmJzZI0rEPVvl3k5tFEgP1Rb8kZT61octVWKDJr2hDnv6wYVJbMnhCuRDz7rQ MAzGa1S0gWtqgoydQdzjcQrxCvCbq/hVHWLKvDp0PuP+fblfEQPLQ2oKtdIPK6Uy9hlH FVIA== 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=ck0DldQXvQ05+HiI9RyuK2kmn2uI3KuM3wyXgtc916Y=; b=CvGc2OoPc6uOYKUCcrIHIF5fD+C1/77VCUkyw1J1kO1HdTrNGRMuOwow0ZbnfWtzPC 8b5FpBfvUa+/hdXyk/5ffy6cSNzYkVXB/AGTCFc3sOWwGic27U2AoRR4xSlF7vrop9hq MIuu9EzhjGDbiq9mtvRv61aXaCjwjaof+/ibJM9iAsuZ7s/RMDav6aHPzuAGFvsYp89u nMpM6A55Gonemacc3aFz44jQ4htwL/yGzHB0Od4GkAtemgbPjCdwvS8Ut4oln3S2Yy6+ jNmpARxo5uLQNC8/wn4RSYU0UYg5P6+vdqOS1a8aNaoMxtVso2L5On2qYxQWU1CZMf7u sp8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=g7OBBlXB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 h22si7270719ejl.73.2021.01.11.05.25.55; Mon, 11 Jan 2021 05:26:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=g7OBBlXB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S1730984AbhAKNOR (ORCPT + 99 others); Mon, 11 Jan 2021 08:14:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:60752 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726999AbhAKNNv (ORCPT ); Mon, 11 Jan 2021 08:13:51 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5EA8522AAD; Mon, 11 Jan 2021 13:13:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610370790; bh=MoHU3kqsQO0dyJ8HPBWlcj+qvPfFr8VSYXRl/u2YNAk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g7OBBlXBM998184/R7oPyzk4FURj2kMpWVs4i79SmC8Op36TVWd+JL64ygFhI8Xsr k3zGMqqluB73AXGxLypKZAG3ywovwLQImj+X20bQO9BaK2ZjnNe/9hlHFel78888FG zZg+UOJGsiI2NDF7TA0wmMI3eiNicHMFz6Q8Vp9M= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann Subject: [PATCH 5.4 67/92] usb: gadget: select CONFIG_CRC32 Date: Mon, 11 Jan 2021 14:02:11 +0100 Message-Id: <20210111130042.378465942@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210111130039.165470698@linuxfoundation.org> References: <20210111130039.165470698@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 @@ -265,6 +265,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 @@ -314,6 +315,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