Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3009187pxb; Mon, 18 Oct 2021 06:31:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJza+qDLxd382tjh3JzDsnCq4QA1GN+XBrgpZOweJSP/XpAN6HWaN6Q1BQk5dsEaP+OGT7xP X-Received: by 2002:a63:f145:: with SMTP id o5mr23952629pgk.273.1634563910023; Mon, 18 Oct 2021 06:31:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634563910; cv=none; d=google.com; s=arc-20160816; b=pyjm3AHBMrE5HxOHjF7fHQjA9qgcdNH5mqnETp1Wx2QlMsCpybJbVF5bftf/xeGea/ eYTwa7xnRnU0PRVXEYMjuuiIyHlN0hF+KG3zYH/kI9HAAiAlWHsn/zywGHV5sEKBIXG/ /jErCrM9/fwuLSC57tfL42mo3oHarFlMZT7vqWGqRLRvgZMs5ydlMCcYV+wSJrEkKKco 7cct3HjRB2i/PIMrFUbhipqGt9WmUvpme/NSKyAy/trPvrQi/iyTT+6suMallTssl6gP qHZ0r9yUAODeUZn3pkYZ9N8Rvlv6AsWM0lWW0nBFP+bViwThiyiiK/hM/8xRLGTuCqRB Eikg== 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=Jt4BjN0Nek850Q4Y/SzS/dZ+mIypDA4/9WadvPKKZ9M=; b=OfWw17oj3hBVGPoDC5vxgfHnXz4eIPUL0OVBqvkTagENQg6Ex5LofCyA2pVsIxccL8 I4e7oqCPX5zTZA/0+2NMhRJ9Bb9aEBVL2KWv2wbkJ5rJrsq1sByMwpaCs3BxwC4gR5ju 1PNvFot50XcR+Dv5K9dxTAJm3LhSqy12Nfz7etz88LTu4WKZtjCoig6WHJLo7sTQe+Vj Bm65xv3/FXS4U8eN/R6q0wu2GMDpI3IK0g1ngiM3U/RC1Y1OmDxgTKr+xI95GNJosW2q g5NUFUgEm6LVug/xKIyUh65vkteFZ3UwtPcGeyOrYI956d7Pqr6aDprXPLcr4Rl0V1kL lEGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DkJecoNn; 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 r17si5615975pgr.190.2021.10.18.06.31.36; Mon, 18 Oct 2021 06:31:50 -0700 (PDT) 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=DkJecoNn; 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 S233097AbhJRNcq (ORCPT + 99 others); Mon, 18 Oct 2021 09:32:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:41820 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232661AbhJRNav (ORCPT ); Mon, 18 Oct 2021 09:30:51 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 309766103D; Mon, 18 Oct 2021 13:28:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1634563709; bh=poWCdoNUEvEov4WDV/+hoAxS62JtRRghHJHoe7duIz8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DkJecoNn/XFSxIJVYvprU5iGcZ0y6PSaXQmydQxCJIqokqsnVmNE4ty2riZBPE4ud pZfvp7cbaq+qg8q0vnfSKvcAWC9A7Nxt89wLoipj2yD9VQcJkttrBJaSeMsXjMQ4iy RCXVbNcq6wE4YRg+rBD526ygFJ2IHWcmKkylcmpA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Vegard Nossum , Jakub Kicinski Subject: [PATCH 4.19 34/50] net: arc: select CRC32 Date: Mon, 18 Oct 2021 15:24:41 +0200 Message-Id: <20211018132327.660727254@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211018132326.529486647@linuxfoundation.org> References: <20211018132326.529486647@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: Vegard Nossum commit e599ee234ad4fdfe241d937bbabd96e0d8f9d868 upstream. Fix the following build/link error by adding a dependency on the CRC32 routines: ld: drivers/net/ethernet/arc/emac_main.o: in function `arc_emac_set_rx_mode': emac_main.c:(.text+0xb11): undefined reference to `crc32_le' The crc32_le() call comes through the ether_crc_le() call in arc_emac_set_rx_mode(). [v2: moved the select to ARC_EMAC_CORE; the Makefile is a bit confusing, but the error comes from emac_main.o, which is part of the arc_emac module, which in turn is enabled by CONFIG_ARC_EMAC_CORE. Note that arc_emac is different from emac_arc...] Fixes: 775dd682e2b0ec ("arc_emac: implement promiscuous mode and multicast filtering") Cc: Arnd Bergmann Signed-off-by: Vegard Nossum Link: https://lore.kernel.org/r/20211012093446.1575-1-vegard.nossum@oracle.com Signed-off-by: Jakub Kicinski Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/arc/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/drivers/net/ethernet/arc/Kconfig +++ b/drivers/net/ethernet/arc/Kconfig @@ -20,6 +20,7 @@ config ARC_EMAC_CORE depends on ARC || ARCH_ROCKCHIP || COMPILE_TEST select MII select PHYLIB + select CRC32 config ARC_EMAC tristate "ARC EMAC support"