From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C6D5C001DF for ; Sat, 21 Oct 2023 01:47:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230182AbjJUBrT (ORCPT ); Fri, 20 Oct 2023 21:47:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229500AbjJUBrS (ORCPT ); Fri, 20 Oct 2023 21:47:18 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3FFBD6C for ; Fri, 20 Oct 2023 18:47:16 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BAE7EC433C7; Sat, 21 Oct 2023 01:47:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697852836; bh=aClrMzzQ6vcC0uIRuh6OiAn7D8pu4quUTjxdrHylDGs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ZnO42zON+eFtPVfDaAJLTbzxaoEkp0d+xqHseMQ1lAYfbybAfI+CVbPc7MhEd9B3R Vl+rvcwkJNWxAjxN8Qav8+st6JplEYZirV0pxrxBChr8Vi26GXUd1BWaUAchOTje4A aE1k/tlWvSsyvSTAHvKuLIbT9OUjdB4DFqEP5Z7cvCOj+S6aYhhMXcZZSwVMh+EEl/ yeQlTPsK+sNRJWlLcqjC1A6HDCKOt65bpVk3RnUQKzebsUHqlWp8ZCiRiyvNpwo/Xx bH6+mG05LXn3x4lNDNk2VpiNRNPpjWdTkrJIVdR7ppSZxUrr2NbxvDrkSzMLi4N6gG WFRYEaa2TMMyQ== Date: Fri, 20 Oct 2023 18:47:14 -0700 From: Jakub Kicinski To: Kory Maincent Cc: Florian Fainelli , Broadcom internal kernel review list , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Paolo Abeni , Richard Cochran , Radu Pirea , Jay Vosburgh , Andy Gospodarek , Nicolas Ferre , Claudiu Beznea , Willem de Bruijn , Jonathan Corbet , Horatiu Vultur , UNGLinuxDriver@microchip.com, Simon Horman , Vladimir Oltean , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Maxime Chevallier Subject: Re: [PATCH net-next v6 12/16] net: Replace hwtstamp_source by timestamping layer Message-ID: <20231020184714.3b3816fd@kernel.org> In-Reply-To: <20231019-feature_ptp_netnext-v6-12-71affc27b0e5@bootlin.com> References: <20231019-feature_ptp_netnext-v6-0-71affc27b0e5@bootlin.com> <20231019-feature_ptp_netnext-v6-12-71affc27b0e5@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 19 Oct 2023 16:29:27 +0200 Kory Maincent wrote: > Replace hwtstamp_source which is only used by the kernel_hwtstamp_config > structure by the more widely use timestamp_layer structure. This is done > to prepare the support of selectable timestamping source. > > Signed-off-by: Kory Maincent Temporarily breaks the build :( net/core/dev_ioctl.c:335:44: error: use of undeclared identifier 'NET_TIMESTAMPING'; did you mean 'NO_TIMESTAMPING'? cfg->source = phy_ts ? PHY_TIMESTAMPING : NET_TIMESTAMPING; ^~~~~~~~~~~~~~~~ NO_TIMESTAMPING include/uapi/linux/net_tstamp.h:18:2: note: 'NO_TIMESTAMPING' declared here NO_TIMESTAMPING, ^ -- pw-bot: cr