Received: by 2002:ab2:2997:0:b0:1ec:cbc4:63fb with SMTP id n23csp335539lqb; Thu, 29 Feb 2024 02:20:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVFgRcny+FUel0TYii3XsWNbmsS3DC1X9AJWAGidbHUXXEq0LNAA0HGWtqDyN8bnXJn80iFpvkxWgcMa3F1rHDkMad6ZA0RkMb7XYJ+vw== X-Google-Smtp-Source: AGHT+IHtUiQ+z9zdKvHPFr4ZjlwHfhH2Sm08RrsiGEMpmU6/xr0XI9v6QtBgjs4A0Ve9KDt6rWWB X-Received: by 2002:a05:6830:4108:b0:6e4:875e:b34b with SMTP id w8-20020a056830410800b006e4875eb34bmr2220539ott.15.1709202008605; Thu, 29 Feb 2024 02:20:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709202008; cv=pass; d=google.com; s=arc-20160816; b=axQMQxStFL8mtvcHeqqt4fQFkSNqLqg93LM4My1pUynh7hJXeZJleRMtu1kEHKHsrh q2ubFlnGkMht66UzdLGQZt+KiXq4/38coWe1Xu16mNy0YhCMo3D/FYPGcBG9y3y2hbZY B5nrdqmjc6rJGOCRB4DJJ6Z5/UPAyH1a48qkgcvNUVF64BRYjJkBH/1fdx2z0bgh6rgK BrGee4vxMX6puyQ5CEqQfQhL49g5o6s7y10239bEdZazzx/HXOTQc7YHK36A6g9/k//c R7TzY3fZX7EH3TCHzJmbfRK6Kl/qyUIJCoMM/9MVp9GH1lxzFLxr/HpRP6VX1EylOsti ovzQ== 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=MEFBYdkM7f3YtLcjvK4kv6EBOhP/yfXSiL46fHzaCaw=; fh=UxFAaJzwY9IwUpV0D1j99Xcz2Yw06ujIVWUCZs2mRbE=; b=Rm3TIsoqZIIPrTVbuUbhGlEq9CxMJzlZljIVv01F98i+SggFDSCeB5Sk1tW9oBsJ/N TUyjmYGWn3LSQMlHfqZ2+F+dsoLUy3qs0JgPj0tv5tXjV3JcQBiu/G6m9IryxuFEqBgj 3Oc/dHMldl2ShcReIFRSshYJgNYF2q44ZNkkoct5ZuuPdjartBJ9uKQfIlKb5qvyPBzD WhBYlpBYFBxrDeUpQtsx/D9yWAHnlcx6T5kPbrGKNsjIlb2/P/dgYJmNG4zQ9PO7XOUB KdMZG8Y9qUTCadkF3qQZYE2S0X8VmhriIY9onPiZJ7+cIMVXTzr1odzO7KmjZDCXXN3o 5QUw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=gu6bm++s; 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-86535-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86535-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 o4-20020a63f144000000b005cd811e2ffesi1135317pgk.18.2024.02.29.02.20.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 02:20:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86535-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=gu6bm++s; 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-86535-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86535-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 CFA1B286D24 for ; Thu, 29 Feb 2024 10:20:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C657B64AB6; Thu, 29 Feb 2024 10:19:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="gu6bm++s" Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) (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 0EAC12B9A7; Thu, 29 Feb 2024 10:19:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709201995; cv=none; b=PscL8+PvTsFEczMJur19gJSr0qz9/18c5PK4eEN5T6Qd0mX7cOvqmrbljdlC9yuCBtbRHiBnD8+5YuElUvvNGIZDEFQCRstb1aFRYXxF5hvBQ5qaYAHgAg3UY9VoE4PDLc9cpIFpLN4s/ADqcv/YyZGVew1jUN28t14NlzqWmbc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709201995; c=relaxed/simple; bh=Y7qkGKwjx3H/TRQEVveGrfu+zQX9hFFpwqUq2WdelWw=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Eu3KiKFIeb9Wav+fAdUZIt4h+/rr31R8sXXQsu0wKZJ/eiCSmO6sTDNZKYJYVojaPzp/+DGbKeml9u62gHpsLU9/37QXUE1CIGJtBJzS1ESbdgWfvTaDfCiKhkl9ORd73QoisYkqQMU8kmFHAMH0JAwXcO4JZZt4BSZh2/UT5Ds= 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=gu6bm++s; arc=none smtp.client-ip=217.70.183.201 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 144F41BF211; Thu, 29 Feb 2024 10:19:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709201990; 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=MEFBYdkM7f3YtLcjvK4kv6EBOhP/yfXSiL46fHzaCaw=; b=gu6bm++sSMvSXZlTFo4Ku2RjXcsU52xQ2TI68nL9UfnPYDs6qU+c9/4X6gdSiEB53/yp1s qNeowayRuUk805Mgk8Aoo4q5I3Lxx7QE3+vYuEKF3xwBerjNTPb/86keHErgJEv7P1Wadf MpwQDiMrQRQuK0BUDT8WQuotRZCl4ZQaui1vakqzQ3g8a/fhYx5wZooT8YZmbvsfG/vTo2 j8+4IOKpLoJ6Tk/sCd/RqEbEaCNvT0EgBJEyaRyODmrCMLpnX53DiYA9FTjVJcadXIDbJP CXfDVF6m8ucYOF756of8h700EHDxuiAvVTmowQS2mbtV3SuiEY6cFXygQcva1Q== Date: Thu, 29 Feb 2024 11:19:46 +0100 From: =?UTF-8?B?S8O2cnk=?= 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 Subject: Re: [PATCH net-next v5 13/17] net: pse-pd: Use regulator framework within PSE framework Message-ID: <20240229111946.55426a60@kmaincent-XPS-13-7390> In-Reply-To: <20240227165659.76a971aa@kernel.org> References: <20240227-feature_poe-v5-0-28f0aa48246d@bootlin.com> <20240227-feature_poe-v5-13-28f0aa48246d@bootlin.com> <20240227165659.76a971aa@kernel.org> Organization: bootlin X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; 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, 27 Feb 2024 16:56:59 -0800 Jakub Kicinski wrote: > On Tue, 27 Feb 2024 15:42:55 +0100 Kory Maincent wrote: > > + psec->ps =3D devm_regulator_get_exclusive(dev, > > + > > rdev_get_name(pcdev->pi[index].rdev)); > > + if (IS_ERR(psec->ps)) { > > + kfree(psec); > > + return ERR_CAST(psec->ps); =20 >=20 > coccinelle says: ERROR: reference preceded by free on line 458 Ouch, indeed, missed this error. Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com