Received: by 2002:a05:7412:8d08:b0:f9:2d0a:d759 with SMTP id bj8csp228505rdb; Sun, 17 Dec 2023 09:08:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IE3OssjugCbBGDq1rEQNJ4+5Llz3sCKTpRB6N4WIMbftoDPEjOzAJYVwFzikTYPO1Jgh646 X-Received: by 2002:a17:90a:ac10:b0:28b:4bfe:bb2a with SMTP id o16-20020a17090aac1000b0028b4bfebb2amr748549pjq.80.1702832885950; Sun, 17 Dec 2023 09:08:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702832885; cv=none; d=google.com; s=arc-20160816; b=dtaj6V9pQJUzbFuxQJ170QLCB6exPLZCoDGoE2xWttQS0tAw7i+mU6bMljx29F6RqH 64zyF7rBcOIru2CUk6wVYuhVk9Lz4CxrCbZ+MHk5GnSMzMhFuFUO7Q3whPfThtVPtJMN tnGpQv7VhbGTUvXgb17Xk2lLcUmxD7MEO70dv+peXbm6PcSzP9lDnhGNT9nci2SVT+Oo KpHc4DzSDctn7+nY1YkdPK/N3ozdCzn1snq78/3dhHMEBIcaualWweIVePxUg845l/82 PqhQBSU1TXskuCW/37i+Gdikh61vcMnf3MJz6XL41YKu15GedgvwJPvWZWHpu+gZByxC nKnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=hH4nR+IzdPwY91nwyXWIK2vH/zkFPkKqw4oqxlTjGo8=; fh=Q+IcUsh4l2m3701WfbZB/nnC77ysPD3LXNP6vpNjdZQ=; b=MPQ7TRtSXTamJ2FCaqzlA2d/8C30+su/iryti+ZK4/q2T+I0vS0/AVb6UIxiCumLos WgR8+ObBjMBtKzTWgL0E6hgDgbuvXWSmD/50NV4g6TeB0YTr3eB+/jcjzsp1+wbENFCX iyFYi4+wtRFL6Qor//UUwVzO/IJnrbv3crbKLG2h1LUMaqGRmFjjKTiKTtgowD3Ao6AK Wk7ZpQCQhLQ3XlLgkZNwJuqalM6/09o4rk027jYgWxzHY6ZeAXJt9qH5Aitz9MIQ0saW IrGrfwzHtRXQbyLdbw9i0Db0foxp6TvvPH0n0knFYUytOuZwlBT8Z/Xep1Wgvr/dWKdt cfDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=2t5NQouo; spf=pass (google.com: domain of linux-kernel+bounces-2695-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2695-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id a9-20020a17090a8c0900b0028b50804837si2584627pjo.130.2023.12.17.09.08.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 09:08:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2695-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=@lunn.ch header.s=20171124 header.b=2t5NQouo; spf=pass (google.com: domain of linux-kernel+bounces-2695-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2695-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch 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 AA3D6B217EE for ; Sun, 17 Dec 2023 17:08:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D67864642C; Sun, 17 Dec 2023 17:07:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="2t5NQouo" X-Original-To: linux-kernel@vger.kernel.org Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 808EC46420; Sun, 17 Dec 2023 17:07:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=hH4nR+IzdPwY91nwyXWIK2vH/zkFPkKqw4oqxlTjGo8=; b=2t5NQouoA4mn6ucJS8Ri/hV37b VRZZNHE9tsxHe4R3gboqoBqIGj+niEN6sFIbUtxmxvGS/KCxgZaGJNXtAsYWZ+7VDqYyp/hLkHiK8 TpZbxMhmo1Vs1uTny0HaSpmH1rXK9+Xj5Dve2BcNtdPxVn1uOYyz4RiAGQEsFDQHpEDA=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rEucE-003A7q-Aw; Sun, 17 Dec 2023 18:07:46 +0100 Date: Sun, 17 Dec 2023 18:07:46 +0100 From: Andrew Lunn To: Maxime Chevallier Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Jakub Kicinski , Eric Dumazet , Paolo Abeni , Russell King , linux-arm-kernel@lists.infradead.org, Christophe Leroy , Herve Codina , Florian Fainelli , Heiner Kallweit , Vladimir Oltean , =?iso-8859-1?Q?K=F6ry?= Maincent , Jesse Brandeburg , Jonathan Corbet , Marek =?iso-8859-1?Q?Beh=FAn?= , Piergiorgio Beruto , Oleksij Rempel , =?iso-8859-1?Q?Nicol=F2?= Veronese Subject: Re: [PATCH net-next v4 04/13] net: sfp: Add helper to return the SFP bus name Message-ID: <5a5f9350-806d-4b14-a89c-8ffe838891d1@lunn.ch> References: <20231215171237.1152563-1-maxime.chevallier@bootlin.com> <20231215171237.1152563-5-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-Disposition: inline In-Reply-To: <20231215171237.1152563-5-maxime.chevallier@bootlin.com> On Fri, Dec 15, 2023 at 06:12:26PM +0100, Maxime Chevallier wrote: > Knowing the bus name is helpful when we want to expose the link topology > to userspace, add a helper to return the SFP bus name. > > Signed-off-by: Maxime Chevallier Reviewed-by: Andrew Lunn Andrew