Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp116731lqt; Wed, 5 Jun 2024 20:10:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVSIEsj/a+P7Dv3aY4gcDWemvSETbkhMt6eXJ6mYv6fPo96anSx+QUOY/BtiBuVFJUqJ8p65RhnJKwPHHiUzjRGmrvDZDZGV2XCjeaVgQ== X-Google-Smtp-Source: AGHT+IEtzf1h/y0xu0cgofb8MzLIjMdJGMZk0+clIon5UIMwBFPifIrwCBjRjrx58dmIAU7VAiZe X-Received: by 2002:a17:902:d2c5:b0:1f6:782e:da40 with SMTP id d9443c01a7336-1f6a5a838e2mr49333045ad.62.1717643456438; Wed, 05 Jun 2024 20:10:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717643456; cv=pass; d=google.com; s=arc-20160816; b=uj7TGxrYiFjnyD/z6skpsuZdO1QB9fqlz3uFZ3GDU6lGJ8PVFTohiFR52ZaHHTwZRM RLPar7ZJeMSGnum7RaAu59iQ9uIJwd9cDur8UBL11lmD9zY2fjYhtT4Rq1mfvPdPxqtJ biisl9NnhOkd/vGKRf54Myjk2hPX4OUewtOVylOa6U6WOlN+oL9CFdOXTZHpPlLN3rlP vzP5WUn/Y7WSq1foroscczXGLFZJV6/mQtOGBUVbM+M0AEsul9ycAHDRXBVLSdsl/2Ox KoQsVW9xkTI038b6mfOHxaxpAVt0rd9/azZA8AArO9zc3KYdy1uAH8CY7f7XAoejdM0A xJTQ== 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:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=GYsfkhmjOCKnNkVGbPaYfo7UMNiz0z/BWyqvuWlCk3s=; fh=6qDCUBeIV0fcb2uHEPZQSYe1u17wWht3pNX+p92lUNY=; b=V4UeTCplfStqVangG2gGQWc3+C9D+lyfLMs+rbECOA+csh4WX6FAq+AK4BXHWiOryg xkhPCd66aeScBYBhkBA59IkomEu6BJXWmJx77LuKIbGAvGvuifixI9V5/xh9TFul6USe XFZd2yYfk0Usp0+CdP0si4B/kkNZptM58H30dylzPJ6dgekm0U5Pc/NidcD0TGeSnl9I ruMT2vZN9Px2Xs52U0FaV9TyK+ZcIaQeYiTkgAP6/7IvuOeO442PQ61EYO0RNI/IiKvD Arcgcu10WG+vJzV1wU2IeGx0tzQ2NMkl4Jp7ZRAhMJtDw17nFPr990gvSGws5L4Y95eQ Wz7A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lq5z6O63; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-203563-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203563-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f6bd7f322bsi3919745ad.452.2024.06.05.20.10.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 20:10:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203563-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lq5z6O63; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-203563-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203563-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id C7576B23DE6 for ; Thu, 6 Jun 2024 03:10:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 72BE3225CB; Thu, 6 Jun 2024 03:10:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lq5z6O63" 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 974D7224FD; Thu, 6 Jun 2024 03:10:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717643427; cv=none; b=BKb7icJwP7zimGesFSW4LZqlvRj1jZdGnmUkWNm68DktWGVa7lpLXe6AjUoJ/HV2PZvxtfidtg9owLLfOE4ZmKEmtu8Cps1ukDqX2kzyepPAnjdkU0lBwFxuHXtQl0LguRtn9ld3Faoh2CWRkKfZC2G7LmV5Th4/iJ4KRcSowZU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717643427; c=relaxed/simple; bh=fSvKb4xL6usgTVuwwJWrOkwMNU8N0nfeCoolR2MrPTE=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dOe7EYTjf9hXZcArSgYyF3T85hD93Ub9OkY0Y1LRRgyBm2PEA2iMVtL912hooWjnJAVdr8Bx4MJ+JFz5b1FzD03y8U6qFD+Qn3NZa+apcdjQuCC5guIsstnaaTEk7TGglO1ZEOmrNreclcnAz+E/3Zgl2edcvEcKPRe+16bPq7c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lq5z6O63; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09BB0C2BD10; Thu, 6 Jun 2024 03:10:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717643427; bh=fSvKb4xL6usgTVuwwJWrOkwMNU8N0nfeCoolR2MrPTE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=lq5z6O63dxZ5+bq+0SKBYgIvQEerPq0sxsgeOUmRamuruvYnh+Fj4TGn5tdmqwD3l UA/LQKEkuTeQfrItj4/U1BuLgja1sSW2u0Elx2GECM/sAAmR6FICsjkWT5pC1uC+qD 192+/L+RMwcxAAYgbGuMFTteZa0V08FhW+OSQfdiAFx/mmaBRNCrqMO6S2qRJYmi1V ddM6kQGVGLiRIEQfO2srA/o4HEdo4wX2HiI3al12yAB5n7z4eGFwI0V6yf7ZVQZqfv nvpRRvGnT8KCz3jO2kFUECm3qvFyWUgyFffxdsMKmWwSWCBMRfDH/W/Zs/YqnMNmx/ JNdHIciVii+CQ== Date: Wed, 5 Jun 2024 20:10:25 -0700 From: Jakub Kicinski To: Maxime Chevallier 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: <20240605201025.764f0881@kernel.org> In-Reply-To: <20240605124920.720690-4-maxime.chevallier@bootlin.com> References: <20240605124920.720690-1-maxime.chevallier@bootlin.com> <20240605124920.720690-4-maxime.chevallier@bootlin.com> 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 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.