Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13408414pxu; Sun, 3 Jan 2021 13:47:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJxivZWRArIrfavt7mvoX8HOuDRakvh0BeclZ1IMN1gajAwhwLrRJQgfb7v9maG8x+ZmkBq+ X-Received: by 2002:aa7:c802:: with SMTP id a2mr13956197edt.120.1609710424977; Sun, 03 Jan 2021 13:47:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609710424; cv=none; d=google.com; s=arc-20160816; b=a6/I5LPsEAetRXzoTTxPTMnVNB2vNQ3wmgintAB+yhs7GCpxN42vojzAudqudEJGfr KAQeeCNgkeG5g4FBubi5hW+/ZPSfCWedIrPaltM7kaHP67N61/lwDNcHi5rxUfd5QHvU X1+X3QFd0LpfWBb326FyEmVeXQxK5z4UmUwjWlZ+ME+TWVlPfZFBV1Fs5S+dCO0xkke0 FurTIVHaFDWbmLgc/obtnfE+KkuoxDKWXF7FZNtc2ysFFB6bOp4CZJgT1yEjuVMV2NUH 7qitRz91yOH/dgokXTT3Khqcc64WHvfbsEc7WcFqpBynzk8kQYlMbtkd3mHjBkizo9e1 rDlg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=7QPrP60rs1iejJleMwrvbRPEMcFnT4IY8CwyT2MctZY=; b=Ca282rQR8d3BM8s3EIjC+CFWYOB4DNkeLXbvDATTdyf335e++q2robdkKzwQ0bSAyx 7yK3c0EigtwsLbimZxTdYwIPw82RpoD5GpgasFUDZ4cqcFi+uwDghBcBTaFR29woz3GX R/YJsBm8jd6fy+rscYF3f3sL3hA7XuqXiAMHWDcV/Tg4piTbfmy0A7ep0cDb0OkjPjpO O8A0D+mU8ItDszgyeS5Toj66hUVs1V8fGPbX6yRvDdEn3yzTmelTOsyR0GBSSyhiheBt b4CscEwOWnccuVLrUE411Thftc/P2LGi0V8C8456E9AnDwGSs4J/wvbvJptqv+CSdFzO w/mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="t97m8l/w"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e22si23084136edu.9.2021.01.03.13.46.42; Sun, 03 Jan 2021 13:47:04 -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=@kernel.org header.s=k20201202 header.b="t97m8l/w"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727699AbhACVha (ORCPT + 99 others); Sun, 3 Jan 2021 16:37:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:36850 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726924AbhACVh3 (ORCPT ); Sun, 3 Jan 2021 16:37:29 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id E83B020780; Sun, 3 Jan 2021 21:36:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609709809; bh=qVglGCnEzhllmV9UmCv6wplmqZDMihZ1DsBawNGAj1Y=; h=From:To:Cc:Subject:Date:From; b=t97m8l/wX34nha4xhO5OFUsTyxNjRL+k6TA+/SHdqduWF2umxVbiScd40qxIuT6ut RtKZjzmHLLy4X0SRkFTBtgcqUoiZG8J+Mu8jioOSsJ5YMbHJOlAQ/+A/kp+i7t23ca jSw68Ypp1vU41B9uiRuQShBCi9Z4p0+0OS85O5JBzwLQeZg5E5vUExAGyymWPAPlCJ K7ZJZadhaMuCLHHiofhLtOc9nSdLITaeP2fGwJN50tPM5Jrki+K8/wOJsJibIJZcp4 dwW9kXQvBb50pGntV+bjk/0yCTuzP53GPZUp752OcGHOa85TCgZvjHol9bATjw2ThA TJQCLdhswNlag== From: Arnd Bergmann To: "David S. Miller" , Jakub Kicinski , "Mintz, Yuval" Cc: Arnd Bergmann , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/7] qed: select CONFIG_CRC32 Date: Sun, 3 Jan 2021 22:36:17 +0100 Message-Id: <20210103213645.1994783-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann 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 --- drivers/net/ethernet/qlogic/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/qlogic/Kconfig b/drivers/net/ethernet/qlogic/Kconfig index 4366c7a8de95..6b5ddb07ee83 100644 --- 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 Marvell FastLinQ adapters family. -- 2.29.2