From patchwork Sun Jan 3 21:36:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 356161 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp14484107jai; Sun, 3 Jan 2021 13:38:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJwSNwHYTdfBjNdw8qQluDWj+UoS2cF10Z38C/FfUDU1kaPxkW7ajpjuJVojk4/mgPuLA8xB X-Received: by 2002:a05:6402:1c90:: with SMTP id cy16mr68997715edb.73.1609709929834; Sun, 03 Jan 2021 13:38:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609709929; cv=none; d=google.com; s=arc-20160816; b=h1rPXpfYaNbHncah3XTdAWmiJP/SypHEeCe3rTlgNYU5HYqKSBgXhZPWszyIXMPj8Y 12+HGjcHIXxCQZWa2wm9o2mnIngkG5ONvJF20VRLGJiLf9jTvMYDsVx/IiZ/q+ZEzSXY Bd2j/DxaTpdmxb5evGgs2L2gNHPneRKOvyRaS9Yy7su7mYSgdmTyER2V+jhidlntlqzz xV7/LIy4WhBu8Kk/8ZSV7yM7C8yJ9EoltLfWylse7ZXzWcCxnHEgHw5huoq0HUKoeyON GBeHijaKvPJRYoXLrugowQSQwBJkbSy1etFpMho4XIFaCvT71Xj3oVvRmP6SsRjDVyNs pWew== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=D3LUK6xKX9uBNcAfp+enCQO4KYE1IlWA69aScAljNvM=; b=Q5dzXlf2yHV5Tc1xR2QPY7wgL7adYZE6sAGTknXrI1be9XcHVbCVZIITytOlrcSQFi Ds9Xoqfh8EI4aY9Z9CNo6gMLP2o7qfw037qRLOWuHHeu+AmmCZYPntd7cryngbnALOX0 UoDzvznhWQTrl1kiaKztEMYEq+f+obg3D7M02z+v3j6btSQjsQRiqvFZbtcqA4oUsvEw xPeFt2YCcEa3Dfm7mlctNvPBny1Nn6iaycPlnqH9++FU8eftkTc2MoUuB+4falDJAcKT +ZIFi50GQicR2PLpaiQCYnEflaFmZFp9I+9AJcpVrPjr4Y+gN9y2y911elc4wTgSYXRP V74A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EWPRdrxp; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-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 t23si29647587edt.60.2021.01.03.13.38.49; Sun, 03 Jan 2021 13:38:49 -0800 (PST) Received-SPF: pass (google.com: domain of netdev-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=EWPRdrxp; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-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 S1727775AbhACViQ (ORCPT + 8 others); Sun, 3 Jan 2021 16:38:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:36878 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726924AbhACViQ (ORCPT ); Sun, 3 Jan 2021 16:38:16 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id D533520780; Sun, 3 Jan 2021 21:37:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609709855; bh=khXj97CoKJW2rMMdFS64ynxksQ+AMhuqjtWxv1oXc3k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EWPRdrxpFUFamAglhnkHxT02k/bqev2QTgqt14Lv5m8Y8ISf7XdfasnTwX6c1Un4E KKAODarwjdjm02KW3GWF6HHcPTkK3ILxvezsttaZ7fHbP6IPh8r2uIz7EdU9qBJFpD a/uf4DrXjk0n5LuD6VL4+nvEzk/x8l+fJ2ONR6VcvrFOXF/281oPLSutaMki2E8r4c aT4le59uph2seUFTOf2CcLnmodHGZ1eFTX8Io6qGvPtlEy3eibXT6M48X/5mFAYfMC X7WjMJimHb1hEFHVhVV/vu6Mhb9HsYKuPzO2OkRXvIfC40uHX53GzhmCXQA/QUEYrF Fvt3RIcEiangA== From: Arnd Bergmann To: Wolfgang Grandegger , Marc Kleine-Budde , "David S. Miller" , Jakub Kicinski Cc: Arnd Bergmann , Henning Colliander , Christer Beskow , Jimmy Assarsson , linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/7] can: kvaser_pciefd: select CONFIG_CRC32 Date: Sun, 3 Jan 2021 22:36:19 +0100 Message-Id: <20210103213645.1994783-3-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210103213645.1994783-1-arnd@kernel.org> References: <20210103213645.1994783-1-arnd@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Arnd Bergmann Without crc32, this driver fails to link: arm-linux-gnueabi-ld: drivers/net/can/kvaser_pciefd.o: in function `kvaser_pciefd_probe': kvaser_pciefd.c:(.text+0x2b0): undefined reference to `crc32_be' Fixes: 26ad340e582d ("can: kvaser_pciefd: Add driver for Kvaser PCIEcan devices") Signed-off-by: Arnd Bergmann --- drivers/net/can/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.29.2 Acked-by: Marc Kleine-Budde diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig index 424970939fd4..1c28eade6bec 100644 --- a/drivers/net/can/Kconfig +++ b/drivers/net/can/Kconfig @@ -123,6 +123,7 @@ config CAN_JANZ_ICAN3 config CAN_KVASER_PCIEFD depends on PCI tristate "Kvaser PCIe FD cards" + select CRC32 help This is a driver for the Kvaser PCI Express CAN FD family.