From patchwork Mon Jan 11 13:02:01 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: 360468 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp2531486ejs; Mon, 11 Jan 2021 06:00:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJy5TrL3PZYcAXxpYGSaDnYjPaOaobLpk491wyvUBCMU5rx1eocQfxhaCKA1wp2/LlvPoTDm X-Received: by 2002:aa7:c94a:: with SMTP id h10mr14182696edt.247.1610373637697; Mon, 11 Jan 2021 06:00:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610373637; cv=none; d=google.com; s=arc-20160816; b=pxuN9nxKix0Yn4E2OhReeupU/FHI2Vy+QD+to2pguREV59C777dXPIjOSVIC8XdlIp gnUd7OAfuzoByglZIsfPxsA2DeJGmTWfjo5/cwsuqvisQYoHj1q/o1x3cM8VD5y+1QUB P0LB7hf/AlolUTvNGJVAqEEp7BxzDueJvlxB1KrkR2O8eCb350NllH9wkQaR/baz9O8J rSFXMqmJ7N5BEtf64zBsFkKp1He+yohdFHEJqa33jLfUmE+PDciFAiNMiKJsGHyVHHKv /KJQWaHMabhJXABh8sC4jFA84lGUXlA8VPzZy8Auz6SMT78TwwgIjoflv6zp8aqpUCtJ dlLg== 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=DUrPZ5cVQ6ardMppMV6stANEXARO3PQHEZt4KTE1PDHy16yKbv6rxJxMMAOf5epqVn Ak2cO4vgB1ysxbhsCvqNUVpVz3439BukVyV8W0UlyrDr2v3RQ2PkuPjwSdLxzaHdoMOt 7FQm0zOOVBk3KlYZaNqtDmQux7uDvOtN2TCK5itr1gI+DQuFz/CoIbLq87tAu95ANKrQ Iua5bbgKgB6OcfhCkJN6J4yu1TVa8UTChy6q6iI2UxP5sKYFzbWDPNdkJsVemJOJAmt0 UVBxWPiZxpBYF15lTQ8iHYETtJYDrEBF2heWipzWPnql05sOhAk3hI/w/tLWHePqNbfk Pccg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fRbRd9ZZ; 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 z26si6955657edl.223.2021.01.11.06.00.37; Mon, 11 Jan 2021 06:00:37 -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=fRbRd9ZZ; 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 S2388257AbhAKN7u (ORCPT + 14 others); Mon, 11 Jan 2021 08:59:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:54216 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729019AbhAKNGe (ORCPT ); Mon, 11 Jan 2021 08:06:34 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id CABA822A84; Mon, 11 Jan 2021 13:05:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610370354; bh=tKi6PWYV5bNw9BXsAXL+CU+1j68gN25pgAmzVRYlXhM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fRbRd9ZZASJDMq/Ve4Np2sutNbyNxSYnopDqsWj5Qounpd4Votb5eiQu9Bqt/E+ce sThNUgUPRG2/e87pDCRdWF7NbmxbqgpXsO8Pt9yHY5OHtuv1Hbhg9aaHgWQWo+GyQh tMnG3PeD0sqmMDP97He01lwhGKA3tHU/OHD9928g= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann Subject: [PATCH 4.14 42/57] usb: gadget: select CONFIG_CRC32 Date: Mon, 11 Jan 2021 14:02:01 +0100 Message-Id: <20210111130035.755300077@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210111130033.715773309@linuxfoundation.org> References: <20210111130033.715773309@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