Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp23089rda; Fri, 20 Oct 2023 18:47:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE9p9WodtYUvVqaDmhrs3olXQww9UMsGSjgYZdcLesWm4+tkWzhLWcrrDQURTBubFFFmgnN X-Received: by 2002:a05:6a20:1453:b0:174:32c:dfcb with SMTP id a19-20020a056a20145300b00174032cdfcbmr8070009pzi.31.1697852857731; Fri, 20 Oct 2023 18:47:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697852857; cv=none; d=google.com; s=arc-20160816; b=CNr6Q+kmMWpaOVjSVvgg3xrp9+iKnUtnu/tHizi5+Yfxugi/8QGZNar8C+EUtpm/Fw fjDmOVLm0bzrYp0mf3yjY9ChUovXHz1LlA9nMceVb17tlimUWPs0D/6dj1oqrGJtCLzk bUZdd5G37Kt3JIQwsZpHvg3PSO842UYg1RZCYmKbNbYS7AHrephYv6pEJVD43Y5RC7Tm /Abp9tjqQdKhDIMpUByswzSInA4kboRvR8yC6Q0acGPzttV9W3m/7/NL85Ob+ST1HXA1 Xu9rz+QKGxwIHNAmn39f3tya1iDkMYgCYkGzbCd6PV2ByNf7bUldBYt0val42H8/MSog YaAw== 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:subject:cc:to:from:date :dkim-signature; bh=j4zioda0qLeKMSkISinibZW0h1V4ExhUlxJWAEZ3sz8=; fh=aj1dOU7T9MGjs2Hp4wovnnos2bO9Q09QJBumZTeturw=; b=vQczHkz5quNreOlc2y5N05YKC9Rk0ilERvXTItxCK3WsXgEN9Pndlgwc2VU6ZdO8re N37ge1KSFkYYI9A95DVz+qJcorQ+1e/nGs7VGxSc7JF57iCJDGXusPdIV4E/glvFboJr zmBejlv02bOQNxBO1liJ9Tjy6FDRP2hRAwU0zqcVFe2O0hpKNNi6F1ILkr871aMw5J7e XrQnOnQ+HiQd/bc7qYNL+xIUHZQI+nwkCQLQHC75wvXQvUkQ4fdgBh8TxcyQy7TzxlAY 9UmUIWc3RLniR4yyP9kzNOp8113LSkyLmfk6hf2b5noeKNT3X4aS2Nh8HUWKrCe58cN7 7XTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZnO42zON; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id b14-20020a63714e000000b00573fc592e9dsi2627077pgn.848.2023.10.20.18.47.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 18:47:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZnO42zON; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 23C2680A7741; Fri, 20 Oct 2023 18:47:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229603AbjJUBrS (ORCPT + 99 others); Fri, 20 Oct 2023 21:47:18 -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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 20 Oct 2023 18:47:25 -0700 (PDT) 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