From patchwork Mon Jan 11 13:02:06 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: 360466 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp2895569jai; Mon, 11 Jan 2021 05:51:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJzd/r7PywSE7k6X/Nkkil0qUkVcFZWE62g+5kGEFIO6iZEMB97EXqS+dCOF3M38mUX9sAv4 X-Received: by 2002:a17:906:c408:: with SMTP id u8mr10746436ejz.364.1610373117298; Mon, 11 Jan 2021 05:51:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610373117; cv=none; d=google.com; s=arc-20160816; b=JB7LyQM2zOAkiMRdWGHSpGpWCGYJr333QFoh2ypu8rPo1qP3SLCHJpPhGyKjompqal GL52QZCT68vQcBMsOyF0zQMBIH4m7AZK7hQa9ojGwok6bjyPyuzQZQasLO+OG6630Awg A6/JT8TTsLt7PTgt1PBeDl8w/DLJGuh12jeKEoFWj3TX4MrBQ30prAbkXTugv9bLW5Yn BXYC/f63I4HZ1E8PLHXntZBeAts2wuhNmSwjXaayce3K6HPzU6ziI7tPWMTwKxmV/VaV 0ghe95Spad3v79W5o0L69fH9IknhUlIhZZ+Mmy2G4SmZMzHOwpnxjCEvgae7FNn2njn2 kNnQ== 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=E2b7Co51bAUFix8evriqk/nibBbbmw254OTLeiDwUfM=; b=W13IJkmwsUqcCcejHNtkJ3WUk3Jten8v0ARHWwHW44I63h6CmiNyHzSkZnw6b1Q9gV MirGF5Fr1SY6swgeyMWQ3Z7OKIc1xUuUbZri9hmzytuEOyhnafDUWb+/GGW0XDQlg5LR cUPWbg1SuT9Eym1VSuq/lwCRnHx3B6P7qPtefHGtgJZiwsi1NVN5iXcOSxZSXSX6rxVE KcCnmvJPnNqBJCxDA38Fd0MvK384nDFUzUCaUYsJS1nMgM3GvEGhvivNB2zFYgkVzBKq Xpbp5ePtss2L6TIYJILBoi0GZ5UDsk4ANOCyoOEsF+e6LqIN4kVIg4zhqf48DDheePf9 2Kdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=I8skMZK0; 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 jw12si6608436ejb.176.2021.01.11.05.51.57; Mon, 11 Jan 2021 05:51:57 -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=I8skMZK0; 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 S1730843AbhAKNvJ (ORCPT + 14 others); Mon, 11 Jan 2021 08:51:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:56682 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730796AbhAKNJV (ORCPT ); Mon, 11 Jan 2021 08:09:21 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9225F22515; Mon, 11 Jan 2021 13:08:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610370521; bh=tKi6PWYV5bNw9BXsAXL+CU+1j68gN25pgAmzVRYlXhM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I8skMZK0ZxoTmhpDsao98x+9JEvsCuomNxBLQ+HltYIZgbMZtbvdQ2NPDZBp+W6Pl zlFJYh0ORcIfXgvGbpBmBxRu/ordE7+ovNKi2wRp//wZw1tyqAbVK/XiumPaZTn6Dp OQeaJ8HBmt/5mTYwYSDKSPCs1xvZon+s+fFi9jJ4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann Subject: [PATCH 4.19 57/77] usb: gadget: select CONFIG_CRC32 Date: Mon, 11 Jan 2021 14:02:06 +0100 Message-Id: <20210111130039.157792477@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210111130036.414620026@linuxfoundation.org> References: <20210111130036.414620026@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 @@ -264,6 +264,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 @@ -313,6 +314,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