Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp608424pxb; Mon, 25 Oct 2021 14:53:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPjjmrlczTwKdn7qp5hBsbR4XmIwrwXWHN1cn37vcyH2xZzvxPESG39DUO6UA/NwKb9AAn X-Received: by 2002:a62:e90d:0:b0:44d:35a1:e5a0 with SMTP id j13-20020a62e90d000000b0044d35a1e5a0mr21429126pfh.54.1635198802539; Mon, 25 Oct 2021 14:53:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635198802; cv=none; d=google.com; s=arc-20160816; b=VDSh0FEDuJUoks0rZ9Eel7Epeqv5yb6DKG1u+bG1QEFljZmiIInIAc+XkwtBnqC82S 4hZsDZptrK8MJ5YpV0Bp1/hF/cah1ZSkrTBUEMlgm2MA9I4Smqeri/BtYpuaVCJk1dQt Ud2I6xz0XVlas40FtXspX9P5PQdSkowszqd9FX+K0pK2yeZnMYFKwzk5Z3S7hXTnqrfN ZsQCfy35XT/ZNqkmugJaa7IxH85r/XFcEt2PzBPgdjjHLhzAGVOTiKzPwdq7K1eRZezH JGkPB/GKK2/TgGNqajTovMA/rQdvqZ78BT1BGnMEHcnfS2ddO5/UlN0TaepvsiB8euGm huUQ== 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=Xf9EAtwMFfUgeirnY2Ysz3uHjYhRYoWywlE0cFMPmmTP62MRnTgNRYgz2slxVzQGc9 g3g2ydzncFczLFlKT5AxZxtQup7M0qtKifU20uafPaypesWDjSafVgKUpWKeiO7ksOFy aFIMT2zDUgD0sa5Nr+bf08ClnF+fIm8CFfPHdGEynolo24A7SjQX/diILY9U4FRa7AkQ UtJQNSRAvXe/FefHdwtLGdUKFPfP2ugbePOkY8Zami+fEYNAXmOZQpFDD5txdLt9hQgh 5Z4MGKI0TSNDqUPSDDzcO+HXHLtds/3pHlBoitUDmBv3Vte0SL+jdQhhpT77ffmHxK6Y 2gDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=J7vCq0xT; 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 s15si22392782plq.364.2021.10.25.14.53.09; Mon, 25 Oct 2021 14:53:22 -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=J7vCq0xT; 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 S234379AbhJYTSd (ORCPT + 99 others); Mon, 25 Oct 2021 15:18:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:35724 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234066AbhJYTSN (ORCPT ); Mon, 25 Oct 2021 15:18:13 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7EDC06103C; Mon, 25 Oct 2021 19:15:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1635189351; bh=yv4RZWeAP8xaERlvArIBsNSnH4pyc2GV012z6VHt/4s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J7vCq0xThdQSKRR7uoTwvheV34EQXJAqk/iZEuAw50S/u5idrZR1JTkQqk64gBMwb 7L1R+t/3eCifbORweTNIuY7fIrpxiUw/r+yUADoDLaPym723HJrdWUh2vt70svg/7a WybT4zUXi5+On9Adf6dccXW0v/QsA7JRiHeDXTYY= 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.4 13/44] net: arc: select CRC32 Date: Mon, 25 Oct 2021 21:13:54 +0200 Message-Id: <20211025190931.378407339@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211025190928.054676643@linuxfoundation.org> References: <20211025190928.054676643@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"