From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="uOwLa3M2" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE80CDA; Sun, 3 Dec 2023 10:31:09 -0800 (PST) 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=yMvGHExNN9pEZ8owzhAJaobPyPu8GSk4PdCmKcfEsRU=; b=uOwLa3M2qY5whNv97KhHog4hUb b6vv6y2CC4Hjsop1ZlY6KJzk3oJL6tYwncG3QfWlGRl4vu6IT5FFuLpSEDAKrrGgNJswkuPolRNla 6ZsPWGOy0p1wM2tcYe1tultGGM8MEVXC1cIv8wOBO+zRh4xAUBy7JEacuuUFOCyEs2Dw=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1r9rF7-001uNl-Aw; Sun, 03 Dec 2023 19:31:01 +0100 Date: Sun, 3 Dec 2023 19:31:01 +0100 From: Andrew Lunn To: Kory Maincent Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Luis Chamberlain , Russ Weight , Greg Kroah-Hartman , "Rafael J. Wysocki" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Oleksij Rempel , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, Dent Project Subject: Re: [PATCH net-next v2 3/8] net: pse-pd: Introduce PSE types enumeration Message-ID: <5f461acf-5cdd-48c7-86cd-8c58a566e12f@lunn.ch> References: <20231201-feature_poe-v2-0-56d8cac607fa@bootlin.com> <20231201-feature_poe-v2-3-56d8cac607fa@bootlin.com> Precedence: bulk X-Mailing-List: linux-doc@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: <20231201-feature_poe-v2-3-56d8cac607fa@bootlin.com> > +u32 pse_get_types(struct pse_control *psec) > +{ > + if (!psec->pcdev) Is that possible? Andrew