From patchwork Mon Jan 11 13:02:11 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: 360459 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp2498991ejs; Mon, 11 Jan 2021 05:14:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJxO2zvBVVAJRpFeGxunpSvJ8hrIuRWIGT1vvdM6HbIPcWTUjbOpxcgsx6uu/OZhBmtN2g5l X-Received: by 2002:aa7:df91:: with SMTP id b17mr14588671edy.272.1610370895223; Mon, 11 Jan 2021 05:14:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610370895; cv=none; d=google.com; s=arc-20160816; b=nQdvd96gESiLihfRCmOgpe6n/EePm5qxP/QCqBaWRx3aGpxLGDDnHglDnL4EF0rq5U YG7BQ7rucnGc9UZ+9oz7FSvo3WljqsdT0nN9Diap8v/l0moKrq/rW0ddeoCmtClMxVI5 qSEzukgp6Yk77RAM0DnS4/Zp8tW1GsiRcEx9sRPx4QUXUYh93ETD4vCXjhvTevkYDWyo ZqO8rShKRiZQclwwN7jz8udTAMdJs/6sO36/uTS0vDtaPg8VvZ7zYfVzt1V+s8/DorVA 5Hh29LnGS3+m9OylJxEdqkzjE2FOVOLFiJMlUJEGl/kU6vK8Vz+o0irxTYW+U0VpsI+i kMhw== 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=bFPuOVeH0bWcqehyrL2ZcOaMqLfVjBdGTRSSe7/JuWI0NOQy91152R2YkT4CeS2Qmb 7Op/LTmGkVWrRkKWvLrS1GygfCVBSiq+Fk0aPDjbXLv5dpVfHKYHY3deUSMJKRNomqkj xFeYlBVV54Prcsh7vWID7FTbUcHFQwiqL6N8pI/SYcG+27PKDCyeDKmnLUQ0asAdariT u8D2M3FAEheBay4o2wbq5r7M5rzHc25C5Cfev1GjZ0m9Kw74N/dGqn5/6vuhnDnXDjBx eYsCcHq2ZO27OCh7dO9pLfUtn478//HPMoXMqVWVg506ddh3qSJeFGPAzv567hhA2k80 a09w== 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 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 h12si6237856eje.122.2021.01.11.05.14.55; Mon, 11 Jan 2021 05:14:55 -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=g7OBBlXB; 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 S1732005AbhAKNNx (ORCPT + 14 others); Mon, 11 Jan 2021 08:13:53 -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 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