Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp669276pxb; Mon, 25 Oct 2021 16:17:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxlFslff0+JFVbDDSXssKgX2/TmQrsEgjQt5txrHNqP4E51u8w/086IA2Rd9cBSDm2cbsK X-Received: by 2002:a17:907:3f17:: with SMTP id hq23mr25655359ejc.312.1635203831984; Mon, 25 Oct 2021 16:17:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635203831; cv=none; d=google.com; s=arc-20160816; b=oxGW43ewLuGl2qdSwU/YOkrmRDCqGN6eBxVsqV+eZ+CUZVjZ8Yu7qqSloDuzV5veZz A1AOQOb3vLtq/2y6nLXAynfEcT5WqjOE5PHLup5WUFQIffgqArmKjYz5jyvb/+ER7ISL +s0oK3DXXcW8bVofWWiOtu7av//x773djzuVXI7rllicNjhJXui0+odDRSo+Aw4OM0HI F+XQXGJ0FYjVKmFV5F6DPWUnToIq6Q6e3VFdfGLyLpV3+kJL7Z37oiKjzm9CCbYY9rcS WxyI54RYsbJF79/gC0JOuBnerbd5hgCHOTfeBygB8BxJi4SnLu0NBDURyMVOhp9LBUNP 8QKA== 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=cmwGLVw5OmZcibXL/hXcBDOeGWzvILweyQKKFBlSQv4=; b=hGXwG+xELlRAxgOn9nnwKnjNFVHdNJh/TWMuCCZkbXc9osUvAdaBRtsMCg0N74ga+u 6FIz73fkXoSURX1hqg9V5dmFstm8CKID3HZRuDw4X1hZ2VM1zRTdMfuVPIYPbT/tRNTe 6mQu3942mJcrByrcQopR2a4qt5VU9UUhQM2fAsqYAPI3/pFyRgWVgzRcVtL0gn4vejtf PZ9FmLAwo4D9hfG55UIgqp2AgbjD6AFM0fo9xJvsmMUlnNRtH/EsrlUAoVNaEd3tbnvm p+N/8tDWleCoE0OKb2AbXKCgRLF5CaeF/QHYd0aHBuqVOQTKibxDwtMppgUIlxNd9ima 2fYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=A5CVPLFy; 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 n26si15335419edf.321.2021.10.25.16.16.48; Mon, 25 Oct 2021 16:17:11 -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=A5CVPLFy; 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 S234467AbhJYTWr (ORCPT + 99 others); Mon, 25 Oct 2021 15:22:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:38608 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234505AbhJYTVZ (ORCPT ); Mon, 25 Oct 2021 15:21:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4C742601FF; Mon, 25 Oct 2021 19:19:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1635189543; bh=yv4RZWeAP8xaERlvArIBsNSnH4pyc2GV012z6VHt/4s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A5CVPLFyQZmVORoyEP1gRv21kZpURGxYnIePuPboG9wkequYi8XkqMBYGLM+W55OH 3ovmiv8y2sKFos5lNimc6ZR7s1qNnMsGNzNIbc6+AlmTM4klH5AP7onFPUwKv5sGO1 Vt7mm211AeXf+uvddD/23UNdy6y7NK7fJ6q1F3KU= 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.9 15/50] net: arc: select CRC32 Date: Mon, 25 Oct 2021 21:14:02 +0200 Message-Id: <20211025190935.891157942@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211025190932.542632625@linuxfoundation.org> References: <20211025190932.542632625@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 @@ -19,6 +19,7 @@ config ARC_EMAC_CORE tristate select MII select PHYLIB + select CRC32 config ARC_EMAC tristate "ARC EMAC support"