Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2297912rdb; Sun, 3 Dec 2023 10:31:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IGT9P1fSA34gFKauyUfGi6+6HsrqaSBxKnkykhyzVY7evQMIB+LiHNBifiUAAdze9mAU+R8 X-Received: by 2002:a05:6a20:42a9:b0:18c:43f4:3d44 with SMTP id o41-20020a056a2042a900b0018c43f43d44mr3390020pzj.25.1701628289197; Sun, 03 Dec 2023 10:31:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701628289; cv=none; d=google.com; s=arc-20160816; b=SeveJKsmqQzVSiLnN9648HZLeItTycTSKDUaDdr6lgNFC+ITg9dJ/cJfvthM2JA6Hw 1LulHdOVYB1pXy1dLABn4esoqji+0tTBmcHBqCNOefAtb/djGWPglkt5PqXuBvKXV8/l pXz5vhScd5Ac0Xl4PIJesKrxEf75njNmzBC7sxQ7PtRIdEKKxqKLYdwBdMKLUTDUM9L0 5K7SEvBJg50HNs/LCYRMyj8kuLGxZ8lX7hlbTn+CX4ijrV+L5JL1uwCGi/u0jdk8sMHK Ud0OVG++HdyS8rbXD4btXBksK+2gbpQWkyzziXO0+xS7CT0c069F65KtoD2CO1+ZHoVa tujg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=yMvGHExNN9pEZ8owzhAJaobPyPu8GSk4PdCmKcfEsRU=; fh=Pjt1u2jYzBNM6MqsUcYRdRQJ+6yRE69fI9ZqXp0NdkY=; b=u3yQYjgBSN3sJBppdPsGBLuM6ZWrgdRBrSpfWyFCbF2AIYi2n3Pto5c8YB0mIUwwV6 TWNd0XzcC1/2i0f6LEXuug3Qrp8GoLodyekjZenE9yyAPs7wlX8w6ikDEhAcvDD+9E0R ZkwuBmDf0F+zl82bi5WUuMrL/BJFsF2Xtt/86LqBmTvJ8b7GK4D8mTdAVuHJvPmUad1R 2Ggqg/hIImg4qkHVjoBqvJ0JStf9Ey5GeSZZSjHttk0adgjiCdGbAGnl3lQ6hx2H54Cz IjPj24EIxDCa+isnqfrkQ93krELVXuSBrpQNSx9QfxpHlwuy1vXB05uIw9XV/JEx/y9g zkKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=uOwLa3M2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id w63-20020a636242000000b005c66c662801si1950169pgb.182.2023.12.03.10.31.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Dec 2023 10:31:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=uOwLa3M2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 851448075006; Sun, 3 Dec 2023 10:31:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233840AbjLCSbE (ORCPT + 99 others); Sun, 3 Dec 2023 13:31:04 -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> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Sun, 03 Dec 2023 10:31:25 -0800 (PST) > +u32 pse_get_types(struct pse_control *psec) > +{ > + if (!psec->pcdev) Is that possible? Andrew