Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp19621pxb; Fri, 15 Jan 2021 04:51:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJwvX0u5MjBdWU61gLNBw6sWG6lywA4Nz7YP65jek7n0+R67uebatnLny0+hiqiAMn6UPtcP X-Received: by 2002:a17:907:175c:: with SMTP id lf28mr8430679ejc.110.1610715116566; Fri, 15 Jan 2021 04:51:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610715116; cv=none; d=google.com; s=arc-20160816; b=Ju718O8JjgbBrA8GIZwP+AMQE163BHTaGlXkIGIlmveBOjWWw0RyTfA7Cr1xQhyaBU cwNOIO8cO6Pfers9rzSxIcqG9ImYHIRE8B9LjlSw82lyN9KOmB6hDCA2wvKBJE4cyIVM SqXIthUNHieqNSRLgjw2IdzZh5TW7vw/QO/shhBXoUJIQ4FykeS40HbQxF+tbTKVAV/E +QFQgmBoGb3VWJDEB88BMnNqL4SAeMAQqVxPZUeGk1hodSZnACnaSpBk2p3ML736T14I m7RL6W2Y7kDYUBEVxJI4JNkz/j/i4xglTSgXHUC4v4na4EGKAMUIGLuzWk7SFwFRHPbu Ug+w== 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=8Kd20Yh5Ecq0M6sSKFunuqxzDpV5exbs2BAmu5vHrd0=; b=n2hPsaf4R3/hSki3/XqGgTik5f4lyTdqdX3k7OhbbSX/4baF3me7cm0tocw9wEIauN MmhzDw58CFhp1escjiX5vdqTyHeO//EwgRytuEtmsu34fmv9K7edInwVf0R72WzsP2CZ VHbEiTkDn6ZSSqf3GFzg5DYs/rMdVov++QPWWf8fcFksWAkiXOP5dfP5oFYWmykUOj78 r3H9mTGW1zWHGaemlrj+vM4+Q9W6EuikVk59lnsopPM41y8gyxZ15VgqRqBs3pNH7Yf6 tXd8s6HWEbqF5ej7SJH90MzP4ElaKfV+zBJp1VgjCJhSouEw4T4rvBRxhWh8Jhs8zLXn 5mkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DTdcIXBo; 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 p23si3716773ejy.319.2021.01.15.04.51.33; Fri, 15 Jan 2021 04:51:56 -0800 (PST) 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=DTdcIXBo; 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 S2387818AbhAOMgG (ORCPT + 99 others); Fri, 15 Jan 2021 07:36:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:42672 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387758AbhAOMfx (ORCPT ); Fri, 15 Jan 2021 07:35:53 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 108172333E; Fri, 15 Jan 2021 12:35:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610714138; bh=tiZRqQqqRYsKhI2Q+Djp4m0IuCXeiO6+kz5AmiXWPW8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DTdcIXBofLCkbUgUJSo8TJ7jOrw8t5e/eIz/ugw52/W6cinrMZ/AJrw4A7R8j/7+u inclh1JQs99/KnUjZRi+7QQH7gD7rj/bAcRaKijcscwtIfzeGM/2erNkycgg1//Lpv Vth+vcQ3O1liUWsY78zafJT3klRoJSjvsgjIAyWU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , "David S. Miller" Subject: [PATCH 5.4 47/62] qed: select CONFIG_CRC32 Date: Fri, 15 Jan 2021 13:28:09 +0100 Message-Id: <20210115122000.665472491@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210115121958.391610178@linuxfoundation.org> References: <20210115121958.391610178@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: Arnd Bergmann commit 2860d45a589818dd8ffd90cdc4bcf77f36a5a6be upstream. Without this, the driver fails to link: lpc_eth.c:(.text+0x1934): undefined reference to `crc32_le' arm-linux-gnueabi-ld: drivers/net/ethernet/qlogic/qed/qed_debug.o: in function `qed_grc_dump': qed_debug.c:(.text+0x4068): undefined reference to `crc32_le' arm-linux-gnueabi-ld: drivers/net/ethernet/qlogic/qed/qed_debug.o: in function `qed_idle_chk_dump': qed_debug.c:(.text+0x51fc): undefined reference to `crc32_le' arm-linux-gnueabi-ld: drivers/net/ethernet/qlogic/qed/qed_debug.o: in function `qed_mcp_trace_dump': qed_debug.c:(.text+0x6000): undefined reference to `crc32_le' arm-linux-gnueabi-ld: drivers/net/ethernet/qlogic/qed/qed_debug.o: in function `qed_dbg_reg_fifo_dump': qed_debug.c:(.text+0x66cc): undefined reference to `crc32_le' arm-linux-gnueabi-ld: drivers/net/ethernet/qlogic/qed/qed_debug.o:qed_debug.c:(.text+0x6aa4): more undefined references to `crc32_le' follow Fixes: 7a4b21b7d1f0 ("qed: Add nvram selftest") Signed-off-by: Arnd Bergmann Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/qlogic/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/drivers/net/ethernet/qlogic/Kconfig +++ b/drivers/net/ethernet/qlogic/Kconfig @@ -78,6 +78,7 @@ config QED depends on PCI select ZLIB_INFLATE select CRC8 + select CRC32 select NET_DEVLINK ---help--- This enables the support for ...