From patchwork Sun Jan 3 21:36:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 11996001 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F2E31C433E0 for ; Sun, 3 Jan 2021 21:38:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C667B206C3 for ; Sun, 3 Jan 2021 21:38:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727744AbhACVhx (ORCPT ); Sun, 3 Jan 2021 16:37:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:36860 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726924AbhACVhx (ORCPT ); Sun, 3 Jan 2021 16:37:53 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6161B2078D; Sun, 3 Jan 2021 21:37:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609709832; bh=cPFobVnyBxf2yC8kLS4j/2ZwleDDSVRsDiNdqpQzXw8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=chBLVJeOYjkPZiQuR0khSIo19JAQSB0yxrdVAS2K+SzzIFWiBWdyrLFmMBWD+htB7 f1ADN/z0j6pom7vZm7C/6W2IsBTb4lZSjlV3zjBNOnVZEt2xzHT4YNcUQxD5MLdKSw jm5BBZ1TvZl7PMpzcIBEjRJmtUgjeXp49diMdK/I7hbtVHnTqZ/QJEerhGh9CxNTY1 koLAI3TAoqhLIsGrWwFOE0pWisX+6FHLr/hXsiGqtJz1wwQOTTh1d+b0esIwrhRwqH A9XYkVzaRWmaGBEpYPU1VnucEM3dw4G2ux8e0d01dh/3j+AvO4B312jsbJR+T32uNi NTJwx2pEwKw0A== From: Arnd Bergmann To: Richard Cochran , "David S. Miller" Cc: Arnd Bergmann , =?utf-8?q?Stefan_S=C3=B8rensen?= , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/7] phy: dp83640: select CONFIG_CRC32 Date: Sun, 3 Jan 2021 22:36:18 +0100 Message-Id: <20210103213645.1994783-2-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/phy/dp83640.o: in function `match': dp83640.c:(.text+0x476c): undefined reference to `crc32_le' Fixes: 539e44d26855 ("dp83640: Include hash in timestamp/packet matching") Signed-off-by: Arnd Bergmann Reviewed-by: Andrew Lunn Acked-by: Richard Cochran --- drivers/ptp/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig index 476d7c7fe70a..d2bf05ccbbe2 100644 --- a/drivers/ptp/Kconfig +++ b/drivers/ptp/Kconfig @@ -64,6 +64,7 @@ config DP83640_PHY depends on NETWORK_PHY_TIMESTAMPING depends on PHYLIB depends on PTP_1588_CLOCK + select CRC32 help Supports the DP83640 PHYTER with IEEE 1588 features.