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: 356160 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp14484103jai; Sun, 3 Jan 2021 13:38:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJwWcTJmAHrVxrxYzeWxi3eZRq8PkDv9nIqInMTV5dWosUtiA0Lw/PWzyOf3jsNqYS5NMagM X-Received: by 2002:a50:f299:: with SMTP id f25mr67738065edm.133.1609709929021; 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=zWNBxE/LYxpDXTlnG3G1/RUONb5xqwtf8jOtwu0j2KHV1ODY2JufIumx0hTUVsyWbH tGtJ1NabDcTHJfqzxdZMoiRZrPLjBAk/pPmYUHU4ilbL649IIVWvB85QQJEzs9DhUR82 OSwaUcvcC6MHd01yQt6VTA+ai3Tnd4z1yNeruzobPBzbI1VMAdXkeYpsYCdTXU5o87gC 69Jx7pWMrn14u85eJAPbrPaM6DwoM5v8kuJAkvN9/rdjUHVitfy60O1DfDIkfaixxvBX BCX1tw4adY0iQpvNyx0EPljZKHAoC1eE4G/ja9jCggGd75r6tfes6NPr9lf0apiVtKfm pyfQ== 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=mFTi8A1tfvWKYUkWuaxrlbNKMJI2zODACgayG7BXjZY=; b=fVwHoQ2yh2vkAVjZ5wf0kUfTxtdt4Ljed3C7blPjWes7uO8bbwR9vC9B8bEeLTOJzQ 4/ga1Nixl2l9BnREBJwZgrlOLpUblfBntCeBGy8RUrc0J5aMAJgO2n+Q7BG2bmokAO+L QUloF0WqqjT+t+3J6NV9G0sOr8cRG3fz3Fjf726asyMWfTraKiFXqfn2nCm8SxIeS3Vc pEaSCdeagOnajgYUObCz23C8J/z3yMQLV41ShXjzoMNZ19+IXiEdnfJgwlT/S39gpt+C S9Rs7NVYxtB+09HjveXG5f0JHs3dOAhpJrRJDs3sld833XttplHYRJ4nkFU36TDAx2H6 QJgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=chBLVJeO; 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.48; 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=chBLVJeO; 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 S1727744AbhACVhx (ORCPT + 8 others); 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 --- drivers/ptp/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.29.2 Reviewed-by: Andrew Lunn Acked-by: Richard Cochran 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.