From patchwork Mon Jan 11 13:02:02 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: 360461 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp2505873ejs; Mon, 11 Jan 2021 05:23:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJwIbRCz1y8P7i6apWASY4Tmpe4r+Z4rwYWWrUafC56P1jSt9OnWjmEVIjdVFwkxh2G8ja5b X-Received: by 2002:a50:d553:: with SMTP id f19mr13760844edj.323.1610371408113; Mon, 11 Jan 2021 05:23:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610371408; cv=none; d=google.com; s=arc-20160816; b=ixONN/F81f+a+Q3IK9LibIMuj0Cl0b9cde33lLk3Xap7YILz7FnBHCpzM3GjW13ZcF TuZOFov/Hn+NVC5bD4FxIzG2GY4HhJ/OOPPGOJXnM69CBjMsCLV0/wPtIMVJd2Mqr498 pLZSQoEbGq4Gmv+FujE5J3z3l9ZLJtRsxPZOPJIccuaZD7SfgBExVWSE9P2ocjtXm8kQ kn4aX+S5bqHaqiRfyoevvfp/S5uRUaSwbljV0WHK07t7/6hTqX3c66WZMo2NKMgouXbB muHAiB+ANAmFSWm2+g68ytldEudXXGKCFFv4/p0UiEt6ryyyjtt78LFwwR6+eS9sDAzw bSFw== 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=RQtymuJN3ZPQEvzsKNybNmhGlJqzI+aLBeLKWCYK/IkY+rUxkwANlH8CuCZfbbVZLl entl6aZ+bNPxDJOKS8calsdWZBHLh8KfQ1Yta6Byfv0Ulooe1u3JccVwD5GQMaZtTCtf D/q1dgv8+hvVloy0ws6IxWnXPfx8dP2FHmywFG0cmpA5pbHC4Ed0ugLsU4mVHgulbl1H 0P5WkLKw4xB3skET/vbeOT62k0r73pcCHYTEY11NcPhqlsKTi1XOz3ZBYpe1sKAscQX1 wU2K3EBhs4ATDKxNlCvAjvhmcnu3DmKYjJLDM/Cu6Js/R29uCfnScgIpMyxBX9tUuKfD 8cNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jeCyOFQH; 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 g3si6449000ejw.12.2021.01.11.05.23.27; Mon, 11 Jan 2021 05:23:28 -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=jeCyOFQH; 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 S1733136AbhAKNSf (ORCPT + 14 others); Mon, 11 Jan 2021 08:18:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:37004 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733110AbhAKNSa (ORCPT ); Mon, 11 Jan 2021 08:18:30 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7644D22CB2; Mon, 11 Jan 2021 13:17:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610371069; bh=MoHU3kqsQO0dyJ8HPBWlcj+qvPfFr8VSYXRl/u2YNAk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jeCyOFQHzuSyO25d+Ugnbmht3Pfohsel2FH6zjn4ato4nBZkobGEqbPP+DFMlOGXn QIDcBvluI9Bk1nCLSBH7WxZW5rGKanCMPtCNNrltYQ2ZURmx4zYM80NqxlRCoMFg0+ wi7jbqkXjjiMNBrCaGwAJPni571uxzTl8nB3+7aE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann Subject: [PATCH 5.10 098/145] usb: gadget: select CONFIG_CRC32 Date: Mon, 11 Jan 2021 14:02:02 +0100 Message-Id: <20210111130053.244534144@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210111130048.499958175@linuxfoundation.org> References: <20210111130048.499958175@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 @@ -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