From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C001A32; Sat, 21 Oct 2023 01:47:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZnO42zON" 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> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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