Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2278066rbb; Tue, 27 Feb 2024 17:30:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWmI0QBVEGOFUylL3QhferrfiTT9Ht+IMprET9HH9JM6WkreL1B2kjjGOSpniEMazOCEDFK8EdAzpPcSQF/TttXhTSroghhlwBNcIUQzg== X-Google-Smtp-Source: AGHT+IG2zLJD+dRb6h0k60i+Ud/oqlKiyU9xTpsIyLx21bT4SZm613v/CR4JySMF8DSSoAtyzJ4t X-Received: by 2002:a05:6a20:c706:b0:1a0:e1ac:c4a9 with SMTP id hi6-20020a056a20c70600b001a0e1acc4a9mr3794361pzb.60.1709083855611; Tue, 27 Feb 2024 17:30:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709083855; cv=pass; d=google.com; s=arc-20160816; b=EOUZ2l/OGpMYZtvXun/40Iq/kjc26hmPKERh9wti2Rkwr++uidi7mLatwPg41Gx6Ml 7zMaje4r1ax0pbugPiPR1BY55cj5kswH7EkfkCbXnVMforZToIXg6L0NBMpGvyr6tzK2 LkZzjY3JMG53OeQXwIzAIlNugy4SXeQ1WyJAT/RKYNiOE0gDkfKOgYzP6gjmc4SzHbU+ 7ZZuREmKA3IJ4SXGZAckcJk2ftFkw3RrvHkq1fOCwUvr1Wtaso85HAGNu5lEbb+HAdYM 6qnIdPbg271LBimB3527pzPUFZ3gC5DJmO+hr5piBESiX3vlT02T6p7CXHMh/9RA8knj adqA== 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:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=OtEtBDp3UBaL3wB+hOQ966R4U+lq9Yu/Pe9MOPwGiPQ=; fh=OWyl75JV22Fd/kq1F/lO03QIMFJ0k4KUbbRVJyrJgkg=; b=gXGGRBMYmMmhgtGxDWtzZlfTSg+RRHC/g70v8caK00nBHzDgIXVDaFsjFiguDMI/Zi dE2SZLpEdRX1I2jov1XJac0HY1EDuDARDOUz1lPUS5LWrRg/2SdtmAnBrLqvAVkExIv3 TXDwQLCKFoIxRvXBfCWHAybZvzLNPYYlAKLIeavmVF7KT6SOE7SISHfMtfQpcN45PZF2 XU3PqAQ++B/rbpWTLD/j3fbXgu05oJxxwB9wNC3jb6CNLNUcGBn7Hosv90irK6w1LiG3 y97nRTQFbgbVPB6D31FHW9N73CO2pOUG5IT3Uxh+CRAqRC5Jn7ibqpxP4Z3rIj0NytA0 NayQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RFoUvcEc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-84291-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84291-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id p10-20020a170902780a00b001dca61913c0si2281491pll.41.2024.02.27.17.30.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 17:30:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84291-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RFoUvcEc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-84291-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84291-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 0F40AB23A27 for ; Wed, 28 Feb 2024 00:57:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A8FA41C10; Wed, 28 Feb 2024 00:57:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RFoUvcEc" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.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 C23EF5234; Wed, 28 Feb 2024 00:57:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709081821; cv=none; b=Fbvk4wt7HeazdlO54Iu9F9iHvM5j0llppk7l74kdZ1KDhwtPA9+KKVH7V1E4G5+PsdJjsuYxJWK0m38i07/PhD8GXSjSuXjQ6z6OSEDFe/XMzWrK796wWB4snNl2v15NfSw5XbDWbWH7uKSM/fBiubOhSIJr5t4WCx/BJpoGOIg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709081821; c=relaxed/simple; bh=vXGBstZys8+dQN0682kXjLXWYlSTcwStbsHQDVnLeqE=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=e3HmGcCdTRDoKiboRlmux8B5V0FF6os5ZNo73ngjzsQtkYyfoDj9e0G5Bs8xxjJfz2quF9BeBYDO8fTdsfG/kBeDaHOrhVH3nU2pqumIykbbrR45a8m5tIZAT7yeVw4DCvYsC7fI6mTtjssOoicSNk/R0uAIjiym31a98V39lpQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RFoUvcEc; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E95BC433C7; Wed, 28 Feb 2024 00:57:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709081821; bh=vXGBstZys8+dQN0682kXjLXWYlSTcwStbsHQDVnLeqE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=RFoUvcEcDyjUSkBPl6KI/gV6IOsYctdxyEf0buR6PAe3u4USI73uUYS9pRyTCnrU4 LE53l59ASDrMCJZrUXu0dAOFgig4Pdn2iZmxkn2r/9Qi6LMAzENLCt0/cDZRHlLV4+ Zxm9NPSmg7ZQFXsLt29I5H0SG6T+0lmYKBRKdaa7cYB2Tx8x+5ehr3MpWgIHePYIPU tGL/0h0yF3ODPWa5owrYMOm/TT9/rFnuWDrKaHMuQIACar03/LCSJ1+WwC6Ct14OQz uAIYgaxOxvsfgLxSavuxRt5P2eEminhOoBrkQAoWQHO8FVG+FU9vHM0Y6jz6TldFOH 2UaV3086LTG2Q== Date: Tue, 27 Feb 2024 16:56:59 -0800 From: Jakub Kicinski To: Kory Maincent 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: <20240227165659.76a971aa@kernel.org> In-Reply-To: <20240227-feature_poe-v5-13-28f0aa48246d@bootlin.com> References: <20240227-feature_poe-v5-0-28f0aa48246d@bootlin.com> <20240227-feature_poe-v5-13-28f0aa48246d@bootlin.com> 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=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 27 Feb 2024 15:42:55 +0100 Kory Maincent wrote: > + psec->ps = devm_regulator_get_exclusive(dev, > + rdev_get_name(pcdev->pi[index].rdev)); > + if (IS_ERR(psec->ps)) { > + kfree(psec); > + return ERR_CAST(psec->ps); coccinelle says: ERROR: reference preceded by free on line 458 -- pw-bot: cr