From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC0FFC4167B for ; Sun, 3 Dec 2023 18:31:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233842AbjLCSbF (ORCPT ); Sun, 3 Dec 2023 13:31:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjLCSbD (ORCPT ); Sun, 3 Dec 2023 13:31:03 -0500 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> 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> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > +u32 pse_get_types(struct pse_control *psec) > +{ > + if (!psec->pcdev) Is that possible? Andrew