Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp190321lqt; Thu, 6 Jun 2024 00:02:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVfqOLLJiMEsTqpOXu8q+AFPFyk49QUXNFnXsL/K2GpyEDFq0ZBgvyVv8I/lXJZfVOYsRdktrUTb/fmrso+qnsA/xQcizTsjGXfgwNnGA== X-Google-Smtp-Source: AGHT+IEPVZOLxkJE+2vdPrtHzlJLlGtF2JDmPGcQha3ZWA70qUatqlg2UKq6ghED2HmyjKIV8SbD X-Received: by 2002:a05:6a20:7289:b0:1af:d51a:1ba9 with SMTP id adf61e73a8af0-1b2b6ecaff2mr5861694637.3.1717657348366; Thu, 06 Jun 2024 00:02:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717657348; cv=pass; d=google.com; s=arc-20160816; b=J/elEIz0YiJXZ3s4816QEKe86ZGjB7E35+o5VN+mHT2XR63gT0aoEcQyHrQfWGPLa6 Ijd5yxC199fT0Nd7AuPVGKD7ZoeMu84EFDFmG7NZTKlKDRRvgbiIiE5YTKP4a9fdTM50 QUQO8R8iYLhjaxRSWSFqaQJGTX8Y2m2HQQvtPvIOhOtLBOngRJpwk3NS/ZJUS0eaE1sf 4fe8BrUDW6Tf0kQpdi4NHofCQusJhmPjZqocpVhCjT0E5MxqCzwt34jVN4nmEhuvRYpT xVOU0DpV17T4xOXdC7CK357GaED/IsZtRUaeTRGpotUxIH/EqO3MkGi1GK57WJatUBQj CNew== 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=jgXWC6wrNxd7gBlX7Te69IijPU34lb7hb+iH3eHJsXo=; fh=wJx9BjhsCU02SfPbNQi/ZG5lxgpkfAeGeDVmqbBBqYE=; b=UPX3AtGUORvM1igdflnGS0dvyRUx+mBefUem4Xg8ezH0TvzgRw5a1RYCNKkVdYnxYG E3e97TfVmif45wRpNKOzh3LU5pmG69zrRhsDiTlAYAADO5NW+1iqmRG13pFMXlIfvlX1 GN/ko/mLmXZrMz8ZUQpp0i0dUwGrg3WTLabg0OYvUNwpTWrorlmGkDjoEZlLdwHvq0ic pMaQeYl4w2f7aQRVSDzDoxMyVFbOqaBW9nm3PIFFb7wg64+UAIzHaBUX41fCYmIfQke6 m0OPeTTp388cEqo4EMa4dJfT0Md/49oeYFT6bzGFEID3ThIzCUXmdox+IXO0AU8xHN52 QkrA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=FIiZKxzz; 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-203698-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203698-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de208320a8si658667a12.71.2024.06.06.00.02.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 00:02:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203698-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=FIiZKxzz; 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-203698-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203698-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 947F3283062 for ; Thu, 6 Jun 2024 06:57:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F6E613AA42; Thu, 6 Jun 2024 06:57:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="FIiZKxzz" Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (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 9153119D898; Thu, 6 Jun 2024 06:57:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717657068; cv=none; b=dJlji2RUwFxFn9WhlX1KkM3+WtK7ga+Kfge6xjetbAwgKWXdF4jVk6TLdLImvjWhDpSya9Kf/6mzpezc3QnfiSXpq9aC1c18Aqm2kBDen1ZVDJcUuAN/f7SC/eDIkNI4liA/bwyFj6hc3q1fSIbNURXPq1sck/cBHKXLz+wvnng= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717657068; c=relaxed/simple; bh=AWAgYsMCFjyvMefBAsZ3RW/Wl8868HRUypW9j9t8DcI=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=i9ftJIY0dsyicuN8DW7amMIr+lWS0HlhcoCtoiJ4mWeumVS1XwvdENJ+q41uSrhzUqwO32x8MqzfbJio5ztoZxNoFP1m1SxAalX7D6n54A9b/z3NPKrvvza6MWlnr13ykovigIDcNVBvednHZaXlytnPnnt80+xnkjrmBNfTS7E= 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=FIiZKxzz; arc=none smtp.client-ip=217.70.183.195 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 30F6260004; Thu, 6 Jun 2024 06:57:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1717657058; 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=jgXWC6wrNxd7gBlX7Te69IijPU34lb7hb+iH3eHJsXo=; b=FIiZKxzzXuNWsWWUYEG9s1CHkdsJ69grzzhE1fJ75F9v5Ys2AuTSJdmoZO8Y7ExIAi0H9x D7UkSWOFwA5rcZ7uWjBFfyGHig5jG7cQkHEgVF9D0HIx2rFvJwWbgMivF7E88KuUExUAjK NVMGD+56L+Kkf3V0kw9e4YOZsvxoM4Qb/5J5gGmRyZmWl7vhLykq8me+cy7ve4kOYVt94T g82by/PcFlITDibCU0R6X8ywwCLUckU9bhKGGLdTSMP2xPaUR8hVa1Bo1rsBF2jx8CSVwt VWWMzrjSUKAYq1FQv6cuM6KZOxq3j2Zfkpk/bNnAYHJnLOjDDDP5f4uz4LYtBw== Date: Thu, 6 Jun 2024 08:57:34 +0200 From: Maxime Chevallier To: Jakub Kicinski Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Andrew Lunn , Eric Dumazet , Paolo Abeni , Russell King , linux-arm-kernel@lists.infradead.org, Christophe Leroy , Herve Codina , Florian Fainelli , Heiner Kallweit , Vladimir Oltean , =?UTF-8?B?S8O2cnk=?= Maincent , Jesse Brandeburg , Marek =?UTF-8?B?QmVow7pu?= , Piergiorgio Beruto , Oleksij Rempel , =?UTF-8?B?Tmljb2zDsg==?= Veronese , Simon Horman , mwojtas@chromium.org, Nathan Chancellor , Antoine Tenart Subject: Re: [PATCH net-next v12 03/13] net: phy: add helpers to handle sfp phy connect/disconnect Message-ID: <20240606085734.73334c68@fedora> In-Reply-To: <20240605201025.764f0881@kernel.org> References: <20240605124920.720690-1-maxime.chevallier@bootlin.com> <20240605124920.720690-4-maxime.chevallier@bootlin.com> <20240605201025.764f0881@kernel.org> Organization: Bootlin X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-redhat-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=US-ASCII Content-Transfer-Encoding: 7bit X-GND-Sasl: maxime.chevallier@bootlin.com Hello Jakub, On Wed, 5 Jun 2024 20:10:25 -0700 Jakub Kicinski wrote: > On Wed, 5 Jun 2024 14:49:08 +0200 Maxime Chevallier wrote: > > +/** > > + * phy_sfp_connect_phy - Connect the SFP module's PHY to the upstream PHY > > + * @upstream: pointer to the upstream phy device > > + * @phy: pointer to the SFP module's phy device > > + * > > + * This helper allows keeping track of PHY devices on the link. It adds the > > + * SFP module's phy to the phy namespace of the upstream phy > > + */ > > +int phy_sfp_connect_phy(void *upstream, struct phy_device *phy) > > We run scripts/kernel-doc with -Wall now, it wants return values > to be documented, too. OK, I'll address that and make sure to run this script on all the patches in the series. Thanks, Maxime