Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3015590pxb; Mon, 18 Oct 2021 06:39:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBAhgjVBILRx3P5cG87xpVVpZdlwN+WFIMCcTy4DyU2GEcQ8D3/aEkAW1AUBFEabKRWPvp X-Received: by 2002:a17:90b:4f88:: with SMTP id qe8mr33223217pjb.223.1634564355605; Mon, 18 Oct 2021 06:39:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634564355; cv=none; d=google.com; s=arc-20160816; b=YqddM97jBHCYGrIuyLw0D9g2ucnrqg7mVE9kuuafi8Kqx69n41ASYvfC0U1sSHdomp /al+lXSGz5w6Xbo8rzRJ1dlXaelhimonpi+qls8mxhmJGrYTjAnRySYI55Oo0AQRrfyM 1T292XVgmGm38UtsiHUmFmqx81Q/gs8B0J8+QcD2yrZMxrda9LU2CJB9rxVBwiE7uEoM ZY0PmPNV56XU8pC8VmyyfbAIh2YeV0V2fohSLmPXd2Nhon+UAcwyuBHw3UYXRfRzoFxS MiZC5OM4qH/Qjaip3/D3HzAwC8GCUjGFpKU05MxfXMjyMU3DxfVGUDb4zCxlmQLpdimp 82Xg== 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=WLZGnQXQRoFKiTGxdGhn6qS6HwItNodQ8dpW4HDn/SM=; b=PO6TnNISZ15T/42lOYFTeKntc+w4i4n06MB2j6sI/d7Afl4wc6SyqtYgr90doitWCW A7nSlnY2sjGlEPB96PrpAEYoGLxKpJ5TGnXpi63+Or+6Y9SqsnzioNWrfygdHO8Cdmvm ZXS+TdlHteRYdW9J5BaxiAoYHCQfjWVDKkyFHtM0F4rC2aHBIHj/ouQDzqxZiHZ+BnAY IH70GPVRKH1hL0P9IXg8CZjdOOX4pEYVIgPb2b0maOzQwXhY/x1og/B3fmUY5x42rALB i2cNa/LIlCjt8Vd6LsX7MoZX53rVUo73Wvn1wyArDlQfxV69aCAR5amDwNyv9JUb9yjF qDcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=WPorNZZj; 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 g17si14910508pgk.528.2021.10.18.06.38.59; Mon, 18 Oct 2021 06:39:15 -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=WPorNZZj; 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 S232532AbhJRNj4 (ORCPT + 99 others); Mon, 18 Oct 2021 09:39:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:55998 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233099AbhJRNgp (ORCPT ); Mon, 18 Oct 2021 09:36:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1B5EC6128E; Mon, 18 Oct 2021 13:31:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1634563874; bh=KKmFggWOIxdeFqORwrBzgJJYqzZ/XjUd8vhuuFwgfT0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WPorNZZjAlQILNEpx6HPfxc1plMBhFKEhCYWHQKFHFyFdU2dmlkD2MiRfoi5xhdpS WiK+UAhRYeP+upmOM0QGbzd9y1/MnMVlKAWzfaUuS/F+l0YvWFFXgl4QmCQpiE/fzv GuGY4i1DEgWSfFqITLJBAErRDkxrRAZ/EOzZ/uPg= 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 5.4 47/69] net: arc: select CRC32 Date: Mon, 18 Oct 2021 15:24:45 +0200 Message-Id: <20211018132331.043309267@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211018132329.453964125@linuxfoundation.org> References: <20211018132329.453964125@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 @@ -21,6 +21,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"