Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2677257rdb; Mon, 4 Dec 2023 04:44:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IHH6BcUQ6fWLTfPQcWk3V3+sagCu+u0vK8KrkLtxIfR/5mI7VSprM8dpNfFgysPCVZyBKV/ X-Received: by 2002:a05:6a20:a108:b0:18b:e49:fdd2 with SMTP id q8-20020a056a20a10800b0018b0e49fdd2mr5438269pzk.9.1701693864793; Mon, 04 Dec 2023 04:44:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701693864; cv=none; d=google.com; s=arc-20160816; b=n21bOD+snfniZ5EAbyNxCn3pMIhko9yWvdfStWzRYckLB15MHXoQ9gxbcNkz93cqUb 2IW09d/sBVmOsj61DouHpGBKOlXIHzbvMmak/umzKH6yvdIB2R+C7GFDVb9qdYlqbaK2 kfs+1Pz0a3r4M/bI1g9PfpzCRf2VWpzimZw+tsbKJk+gmLx2JYg/0D+K6n1+hk5IzaC1 /mRz708bRkg8PlcTuBt/Cnp6ov8ibdPhimXzTXTEn2slaNJkbfvqvMlSRURiE8W0vZ3D gecZKb3kuJyVXIgC2r7isXF3SB0TVfwbmaoR9eWXDEynhoa0oOtJGk8Tppx9K5nQsjr8 Abng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=nqjTR6UKanRy+LXzryyr3Q97oikAwruBr3l+Yqr6gQA=; fh=xFxI2XYGntEpQuIphrWxY/vg56iJlWk+DFZJbeFPWno=; b=Q4cJNxHutcYnkZzgBqDLknyQ3sdMNJa08dwM8QGp0RkyURqU0zEGtll8/mVZMmei0S 9MApwtvEAX3wBpTmw6zlWaS0Y9//764R7UCxlxOla2yVE+t0KkvbjIi1qn0N8uPkct8U DBio/DRbc5d3Y4fhrl3IN+iSwzguXN9TNFRTg6q16QhHs2SMdTy01zB28VxBe3IHhpMr WOstZkB02oRqoBvcczO3kHjgKuLHG3j3ZstkqQLA8UGR/qtwT0JtClf6hLm0LpVxbzrI jL5NwBibvhLqRQNr5Q/3/lDy0NbFcgAslin81BXMnKlqM3avKZ34BjPBo98mYBckscba MrFw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id u189-20020a6385c6000000b005c68df9b942si1575183pgd.426.2023.12.04.04.44.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 04:44:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 6E49580A1A75; Mon, 4 Dec 2023 04:44:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233215AbjLDMoE (ORCPT + 99 others); Mon, 4 Dec 2023 07:44:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233355AbjLDMoA (ORCPT ); Mon, 4 Dec 2023 07:44:00 -0500 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EEB6A101 for ; Mon, 4 Dec 2023 04:44:06 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rA8Id-0001lF-QK; Mon, 04 Dec 2023 13:43:47 +0100 Received: from [2a0a:edc0:2:b01:1d::c0] (helo=ptx.whiteo.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rA8Id-00DWR9-2b; Mon, 04 Dec 2023 13:43:47 +0100 Received: from ore by ptx.whiteo.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1rA8Ic-005E0X-W2; Mon, 04 Dec 2023 13:43:47 +0100 Date: Mon, 4 Dec 2023 13:43:46 +0100 From: Oleksij Rempel To: Andrew Lunn Cc: Kory Maincent , "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 , 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: <20231204124346.GD981228@pengutronix.de> References: <20231201-feature_poe-v2-0-56d8cac607fa@bootlin.com> <20231201-feature_poe-v2-3-56d8cac607fa@bootlin.com> <5f461acf-5cdd-48c7-86cd-8c58a566e12f@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <5f461acf-5cdd-48c7-86cd-8c58a566e12f@lunn.ch> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-0.8 required=5.0 tests=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 howler.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 (howler.vger.email [0.0.0.0]); Mon, 04 Dec 2023 04:44:21 -0800 (PST) On Sun, Dec 03, 2023 at 07:31:01PM +0100, Andrew Lunn wrote: > > +u32 pse_get_types(struct pse_control *psec) > > +{ > > + if (!psec->pcdev) > > Is that possible? pcdev is automatically linked within pse_control_get_internal() -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |