Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp267014lqe; Wed, 10 Apr 2024 01:10:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXDHUk0r+UN3nVPYLBkxhv8WjwPuHKXNP38UcZhj4J0ExinmQycvbMOpeaXe2TdZlEOXcV0HT1f+xsSpnbHkt1BQ8+/iRHV2ceTzcMGWQ== X-Google-Smtp-Source: AGHT+IG7xw7BHyow1ffxyhoodsAywF2NDh/2T5M76c3AcpWngtOV3X48kTEicVnctlUmYsZUHzCT X-Received: by 2002:a05:6a21:3286:b0:1a7:1c5:4746 with SMTP id yt6-20020a056a21328600b001a701c54746mr2660446pzb.1.1712736609889; Wed, 10 Apr 2024 01:10:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712736609; cv=pass; d=google.com; s=arc-20160816; b=rq7Ckqxzz/OYQ19U/bf4H9F9njPvDufjGgmeDrogpivgRAZJ45bSZJWdu2m+mLmFEc SRj4Fa0qN2OsPevb1HnmIi5rxVTUcghvbjXVn+7A8KLgqRdEuTdTmNKLvU+/gpfoIfTs riOVqlslngwJ4BCB/JMgY13mNfYVqKgjVOhRl6GKf/lkFG72U376uLndxov8jTTEcrF7 xcur/ih8oVKSV8BgTNs06toAHH1F1GWx27xFA7ZkmUmqo+wcTbquAvmbct8BwtBjc0b0 7W6/QucoZTRk01VCWgfmTYwiLwYc/4VG2svO+iGlmdRCvfYospM8EwqDZ+iXJwkpzk/T QxIw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=67fO9dB9+aCmoUPt8C/edMdaWBrSxm958Jbh7XiQUIM=; fh=wVgKtEf6ra7sfB1WZ39D3o4IqEbBIRnNwX1XAUP2ywA=; b=TujQ5VP7PQjPPn0dSy2hhtkB1wBGN0l1o7BP3nTqJmGZoBeH+k5kPwAn4cZtKuyb0r NVOt19gEZ6LaZwYljlhhQaFsMpSyJotgpFo3EniX4m29pVoc0LyJ1cPdHzQ+hOEykzCF o1O5y0z7lROvvRmNMEo+YXUfI0jE6N4V/dSwrNjrqs3TzhfSTGo9GDhCT329i6lB+sDt 1YyWKc+F+PiX/EpB4+I7fKXHH3yNa4daOLmdF6aGOaErmRb+D0BZ//baPlQIPKYd935n vF3reyHNZKt0Z1Kx71BTTo1lA5c40U+qHa0n4OO/Q/PQTyvcCV+8P7pkjgYTQrKyqFgP DHBA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=AqHxZtmb; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-138143-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138143-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id lv4-20020a1709032a8400b001e039a37289si10749308plb.613.2024.04.10.01.10.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 01:10:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138143-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=AqHxZtmb; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-138143-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138143-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8F029280C0D for ; Wed, 10 Apr 2024 08:10:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D7BA213D607; Wed, 10 Apr 2024 08:09:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="AqHxZtmb" Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (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 0F54D1C0DD9; Wed, 10 Apr 2024 08:09:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712736598; cv=none; b=oqZxljf36QA6xrfuxl5+aq/wnSy83lr1i4REt4hTXqIHBnImy1Xykzp6gcagRgKi7HErCLe/t0n729W9dbELjuGnhgvaOZx3qb5Jv0uEX84hiz4Y99WnRVwFODM3w2QMvSRmT6Z/l7ubyy/eDEJA0A1GquLajSswQCseFzMozrA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712736598; c=relaxed/simple; bh=mzy36E8KWXL6Rc2Bnz52G/aFc6SaQE1wTcy55bneo6E=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=lxhNPQht2CBDNhI33C6c38alQ7wge+kQIRtGfZMw89AoijB2rA2k6zUnh9oddsNhy9FWJN4Yodgy01AEddGioZU/ss6m/eNn92a2NepfnvlIBMjH5R5ZcZ+1l4+vUkT8wOfI/OpYAJXl+HBLFNpY+sq0YfBZtIIOPk7eU8mag+M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=AqHxZtmb; arc=none smtp.client-ip=217.70.183.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 0AD0D20002; Wed, 10 Apr 2024 08:09:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1712736593; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=67fO9dB9+aCmoUPt8C/edMdaWBrSxm958Jbh7XiQUIM=; b=AqHxZtmbrOcFs4dSt9HVYUN4tknKKN3kvY33S3Sak9S/RXZKzPS4R9duaaKwavNcAtUf/4 STZPMXGct0+PICzyL8yuIr6SDAcMp4qZrZowe1txLfVuUAHdGul0X3lJnkTHr4GxO1l0W9 TO+IaJ/29/R/i+xZ1OE6bA0AC3LSABwLmNYCTqKY2Wz3gZGUXkRC5+50VpwKRDaPwstHt9 RE1myhLvgnsJwwQf5qg0Z78S3mnMdMRgTOf1JoHBTCFP5MiIQnMMB+B4sUwrmsbX1NIF+p su9eDvtYeQaYXHWjLSo/hb8s9UiY+dGkbJXCa4UzliXRFE/wtggEOUD/hsWNvQ== Date: Wed, 10 Apr 2024 10:09:48 +0200 From: Kory Maincent To: Jakub Kicinski Cc: "David S. Miller" , Eric Dumazet , Paolo Abeni , Jonathan Corbet , Luis Chamberlain , Russ Weight , Greg Kroah-Hartman , "Rafael J. Wysocki" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Oleksij Rempel , Mark Brown , Frank Rowand , Andrew Lunn , Heiner Kallweit , Russell King , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, Dent Project , kernel@pengutronix.de, Maxime Chevallier Subject: Re: [PATCH net-next v7 13/17] net: pse-pd: Use regulator framework within PSE framework Message-ID: <20240410100948.1df6ca0d@kmaincent-XPS-13-7390> In-Reply-To: <20240409141621.392bd34b@kernel.org> References: <20240409-feature_poe-v7-0-11e38efd4dee@bootlin.com> <20240409-feature_poe-v7-13-11e38efd4dee@bootlin.com> <20240409141621.392bd34b@kernel.org> Organization: bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) 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=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: kory.maincent@bootlin.com On Tue, 9 Apr 2024 14:16:21 -0700 Jakub Kicinski wrote: > On Tue, 09 Apr 2024 17:04:03 +0200 Kory Maincent wrote: > > -static inline struct pse_control *of_pse_control_get(struct device_node > > *node) +static inline struct pse_control *of_pse_control_get(struct dev= ice > > *dev, > > + struct device_node > > *node) =20 >=20 > One of the related patches breaks the build: >=20 > drivers/net/mdio/fwnode_mdio.c: In function =E2=80=98fwnode_find_pse_cont= rol=E2=80=99: > drivers/net/mdio/fwnode_mdio.c:32:35: error: passing argument 1 of > =E2=80=98of_pse_control_get=E2=80=99 from incompatible pointer type > [-Werror=3Dincompatible-pointer-types] 32 | psec =3D > of_pse_control_get(np); | ^~ | > | | struct device_= node > * In file included from drivers/net/mdio/fwnode_mdio.c:13: > ./include/linux/pse-pd/pse.h:157:69: note: expected =E2=80=98struct devic= e *=E2=80=99 but > argument is of type =E2=80=98struct device_node *=E2=80=99 157 | static i= nline struct > pse_control *of_pse_control_get(struct device *dev, | > ~~~~~~~~~~~~~~~^~~ > drivers/net/mdio/fwnode_mdio.c:32:16: error: too few arguments to function > =E2=80=98of_pse_control_get=E2=80=99 32 | psec =3D of_pse_control= _get(np); | > ^~~~~~~~~~~~~~~~~~ In file included from > drivers/net/mdio/fwnode_mdio.c:13: ./include/linux/pse-pd/pse.h:157:35: n= ote: > declared here 157 | static inline struct pse_control > *of_pse_control_get(struct device *dev, | > ^~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors Arg, a leftover of an old version of the series. Thanks for the report. Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com