Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp790165lqp; Sat, 13 Apr 2024 22:33:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXiXzVBkltzu4R8NYH8HGBZuYTbM0cut0d1bPv1ORUnYf5PdJcVPLXFdfGAwCQvc7syGujfaA0VeV6rakyQgLBvciTnA47afZcgXD+KcA== X-Google-Smtp-Source: AGHT+IGhUEyqmxjo0LVo/J4oU9OGy6nXCwHiDFHdRj32inJ1gwu+RI11KemmLqEsC3JrAPjKAMQL X-Received: by 2002:a17:907:6d18:b0:a52:3fc3:f00c with SMTP id sa24-20020a1709076d1800b00a523fc3f00cmr3161557ejc.10.1713072830425; Sat, 13 Apr 2024 22:33:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713072830; cv=pass; d=google.com; s=arc-20160816; b=AY+zv2b6KIkEupXdqbcHn4+GbdugBpDD6y1UZ6HF0K1wQmYKiTpEQ/KiAmTD7AQvNa JmKQ5v2w7UfEuwODvhGAs68RiC2CTa3YWDOk2/KlbiuW4rspp5dsF6Iv8yMw/aE74qcs 9RPvLjtLW7FmNL/xtUn+9G5zocgardDkUeR5+fPwN7HA1DGZ1HBVe3+Y7hCZaTJkzeLN MTqHinLoD1NMX++Sm2qtNAybMLd6iNSdQ8J8jgQqW9aK6b2iVmGtBSuQ4neFT+iSRWCU B5Q+AjFKt2TEv8PYDlqmd6EM/T1Lbt5a8QM8NpsC16fqkuwoHtCpXQ4BNlEA7NhY02SO A1Mg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=mUKnW0MYxp8X8CORgAZ0KT25kUnIRWHF8DdTNT1mliE=; fh=Uu3+l5chw+lifI47BC4YeLUwwGQHscqrcWNKsY0ZErw=; b=pNG2DcdHIQ4mzWnnoLYdlrdSNR+uk17XIVELc4ihRfwgwJZzl5HVpbrD6oBXfVaHiH n6LDAfvqVtFY0JdHUCfNkuYaC7rufaQSjOZ4NTBEo7wCxIbktrCbAcgqcuBUjZ3bVhQv Y0nOHP9v4Qqb7/sH3uF/sywk09PuAPqFBuQ5xjaH+scOUpCpkQLWVX+waPU6wnxJVnBh 3kO8hi7GZdEgfc5ygtMt1X3LKexRVv+lAmsuUN1bbfXtquUAMUXgKhjKJ7UWr/RT0bQ+ JclpEZjGmYI+kF7hA4vvQ94zbRJNOgX2NPPVF73jBDfQGrVkxvZHHqlD8ALpLHjJDE9U ZZew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="Kjm/Dwpu"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-143985-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143985-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id p3-20020a17090628c300b00a51c1d84505si3311811ejd.592.2024.04.13.22.33.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Apr 2024 22:33:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143985-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="Kjm/Dwpu"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-143985-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143985-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 02EA81F219DE for ; Sun, 14 Apr 2024 05:33:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1E1B1BF50; Sun, 14 Apr 2024 05:33:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="Kjm/Dwpu" Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.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 970411B7E9; Sun, 14 Apr 2024 05:33:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713072818; cv=none; b=krSsJ28dRVSOb3cJtPYeEYWgd0dFJWTKV1PnKiBlq77ST+4FinDXjJl1qe8dSxwd01DCnQU8yopj3zYFYioD4LbsXEFho5cOg3LP+7rVSQ/PnfzbYFPL8urGl1jvlFVIHxlUY5uaQLrQKZHjoMFR5ztwOEGa6pup4nCUINMdz6w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713072818; c=relaxed/simple; bh=v0O1wkR6wbnMmmQDu44nt7zPFp5nIQyL4vIoHfxOQXA=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=GAA/HL8nyf94muFbbzaqN0FFE4va6uvr8dlpW024o0nX1PeLVP7tDmxwm1VDzjGKmepXyaGFpyVpsg2rjnk+XIx18Pd9UfjDSv5BeI9zA9moQal5SofxBHbIW/tb5LinaN7JL/PJRKv0rCn/pG3l5vfgQpgtWT/xQDWYoGM4EkM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=Kjm/Dwpu; arc=none smtp.client-ip=217.70.183.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 3CDEB1BF203; Sun, 14 Apr 2024 05:33:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1713072807; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mUKnW0MYxp8X8CORgAZ0KT25kUnIRWHF8DdTNT1mliE=; b=Kjm/DwputspWyyw5H0eQjPK9H8b6cmGmKI8b4VmmflJxeo4FAJZlSboBiCnwGmo4z470mz K7szKldCeoiusuQcZ5XaVYeblBtoD6QRrWLMbEOgFXppp0YReDCb+nDhCLlPiTTBL08P/V nwZBdxcy0CnWZDcXbFw4xMhMknrFtjqtERXoqKHjCXBzHkyuLS7AhkXXA0SberDqzZw8ei 0Z46GaofJB/ukzevDg0AiuomRb9qdKBFGnubhi5w1e5vMBH7zhoLPsUAMVit/gAhQUK62L MZ7KpC7bw9Qr5CeiHv7qsDHkHQNzXXLeNDVVLa3dUrwiZ4OhENJlAU+4HjxtMA== Date: Sun, 14 Apr 2024 07:33:15 +0200 From: Kory Maincent To: Willem de Bruijn Cc: Florian Fainelli , Broadcom internal kernel review list , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Richard Cochran , Radu Pirea , Jay Vosburgh , Andy Gospodarek , Nicolas Ferre , Claudiu Beznea , 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 , Rahul Rameshbabu Subject: Re: [PATCH net-next v10 08/13] ptp: Add phc source and helpers to register specific PTP clock or get information Message-ID: <20240414073315.5aa7adf0@kmaincent-XPS-13-7390> In-Reply-To: <66175265992c8_2d6bc6294d8@willemb.c.googlers.com.notmuch> References: <20240409-feature_ptp_netnext-v10-0-0fa2ea5c89a9@bootlin.com> <20240409-feature_ptp_netnext-v10-8-0fa2ea5c89a9@bootlin.com> <66175265992c8_2d6bc6294d8@willemb.c.googlers.com.notmuch> Organization: bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: kory.maincent@bootlin.com On Wed, 10 Apr 2024 23:00:53 -0400 Willem de Bruijn wrote: > > +/** > > + * netdev_ptp_clock_register() - register a PTP hardware clock driver = for > > + * a net device > > + * > > + * @info: Structure describing the new clock. > > + * @dev: Pointer of the net device > > + */ > > + > > +extern struct ptp_clock * > > +netdev_ptp_clock_register(struct ptp_clock_info *info, > > + struct net_device *dev); =20 >=20 > No need for explicit extern? Indeed I don't think it is needed. I am wondering why few other functions uses it (ptp_clock_register, ptp_clock_event, ptp_clock_index). Do you know? Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com