Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2816543lqt; Tue, 23 Apr 2024 02:29:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX0zXo9+B/CsO3pPMMCFlCxOeoBdUF/UOm1oBMWRfeNBppOtT3Xob70w1o4ds8GHMgEi5opxrszAQwED2bx55n0FRdJOmR6PKIYvqKqIQ== X-Google-Smtp-Source: AGHT+IFEImCLyWpSbiuf2tVeFkvR5l3zvGzzLsmac3SzKSftOoL6hd2u9blP3xofsCx2DTnPYg1e X-Received: by 2002:a17:90b:f10:b0:2a2:6a2d:994f with SMTP id br16-20020a17090b0f1000b002a26a2d994fmr11636130pjb.8.1713864558956; Tue, 23 Apr 2024 02:29:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713864558; cv=pass; d=google.com; s=arc-20160816; b=JAOaCrbn9CaY2i6/tRcTeRWiV+VD+/VSeDAbWlnTAHWHVyZCglvtVKG/S+3hHZt0Zy 5QH6Q9YOFQneaGrq1aTyO3tWL9ikFBFoDFKsKDSttY7G5SKVz9CACJGE3J/5winlxAbF rmT0mmrTNagJi9J1WQ2fRuG2RukepyZt7N2jv/cZd5TgdHs7dihjH084vpx0a5UBdPLY MBeh8MHvV3XGVCEevPmG8IwrLW61nm2lFNRXIaZXUHI2SMQL4J9pjXauljptEjMLhiU6 hBVt68F48r7UTwSkla+v8XJHV5mSCQke2FbyBinAsVZDXLIN9GMy+HNYk0Yo9YHWxyi/ 8Wsw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=HZUMcCLKyqM24JFjjdsriw3H19crjA0icuaIuq2mB64=; fh=6zHey8HhRWw09EMw8wVlVwn/5Bz8fs0SRcFL79G2Hs0=; b=aXdAiyOyeOiTDDELAWw/0XCA90VAM/VtIQzQGTcuflXz+JxhG5X3HFJBzL0iUWsr4A 4t/Zs0T7WuQUcRHggEdGnCvfnq5xNXIouPU2oC8naxjfTRq18ivlCh0YzqINYdolK/Ap 3ibXif2jXt5LnGHSt8MObsiyywm+rpdKiDAicQ3lNKS3Wgd+JZatPnSwB3nFHAUUGLUo oqqNpLd/Giw1fyngloWyhAnaMa4iNNpIHo4e4GIv4pzMZH0ULq/qYOZZ+0VAsXpIai/j PQEngzbAyolCeOj7eDs8j5UBNKh/S/mpNmkyjj5ryOXteYJfJpfwTdnfRETFiCx4yrUo 8+sg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=jEr4m6Xm; 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-154780-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154780-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id e12-20020a17090a77cc00b002a69b8a87d5si9434984pjs.7.2024.04.23.02.29.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 02:29:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-154780-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=@bootlin.com header.s=gm1 header.b=jEr4m6Xm; 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-154780-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154780-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8BCA5B228EE for ; Tue, 23 Apr 2024 09:22:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 16D71604B3; Tue, 23 Apr 2024 09:21:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="jEr4m6Xm" Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (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 530113399A; Tue, 23 Apr 2024 09:21:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.193 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713864080; cv=none; b=M1KAwfSUJR50vHIKZ2t9fx7iY081oPOmabm9k3Ih8w4EniXU6aiG1arCEta42mXT3AyDYO31zSA8dTQCyHcw2mfKo1DtJYwcJo6So9Mz/slEp4w2QRNGj8bf1qB7LfDSxrVzD+Xu20N65k+uurkpmKT/IjvVa24f/DXdnGAY8Ak= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713864080; c=relaxed/simple; bh=bJDjV5+y19iYs0jsERhc9wrq10cgSv0rW0l3K679Kjs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Fg01wd/nGnSM7OLk80Ng4gGHg/QiAvFSW9wik8Coqek8r742daI6oWioUY/SOoOoefBtVBg0xhby4IUUtVzHD5xqvHbLRjv+AC8z1b5ws6GJytHQAlxnBCt7EqKoswk0a5bF4JHSUY07FffEiik+Aw0J9+sxLwXsSnhN0UgkAp4= 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=jEr4m6Xm; arc=none smtp.client-ip=217.70.183.193 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 15E42240008; Tue, 23 Apr 2024 09:21:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1713864076; 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=HZUMcCLKyqM24JFjjdsriw3H19crjA0icuaIuq2mB64=; b=jEr4m6Xm3ryzjHiFJEZdmLg2cFVG8aoWfweW7CUkS7GHN9UJMRBJfgr73hl18DaXmrN5Iw P3+BIDN8CnzRtSd6GYGRL5OfsFLjJYDdHJp3X9p7hqZSMZQRk7ew6ym95jviL2DmIKEB29 eOCA+Rzp4k59wDoOCCT9Klv434eKpJwLxaXRfGoc9Jx5yd/qI2U1rsc3tdUz3ZBtpPIdc+ Dpsz9CszArOzCsJkmP8X2cWXx3IDgDCVDmO30MyTzp56HMNTEix4xfYdz3z3C4RlWMeYuR 4TpYDWws65etjYfTvcQPIAFp+o0HEyfdpXYmmlglrg9aqpppR0Jmk8zfhcx+ww== From: Kory Maincent Date: Tue, 23 Apr 2024 11:21:12 +0200 Subject: [PATCH net-next v3 3/3] net: pse-pd: Kconfig: Add missing Regulator API dependency 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: 7bit Message-Id: <20240423-fix_poe-v3-3-e50f32f5fa59@bootlin.com> References: <20240423-fix_poe-v3-0-e50f32f5fa59@bootlin.com> In-Reply-To: <20240423-fix_poe-v3-0-e50f32f5fa59@bootlin.com> To: Oleksij Rempel , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andrew Lunn Cc: Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Kyle Swenson , Kory Maincent , kernel test robot X-Mailer: b4 0.14-dev X-GND-Sasl: kory.maincent@bootlin.com From: Kory Maincent (Dent Project) The PSE (Power Sourcing Equipment) API now relies on the Regulator API. However, the Regulator dependency was missing from Kconfig. This patch adds the necessary dependency, resolving the issue of the missing dependency and ensuring proper functionality of the PSE API. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202404201020.mqX2IOu7-lkp@intel.com/ Closes: https://lore.kernel.org/oe-kbuild-all/202404200036.D8ap1Mf5-lkp@intel.com/ Fixes: d83e13761d5b ("net: pse-pd: Use regulator framework within PSE framework") Reviewed-by: Andrew Lunn Acked-by: Oleksij Rempel Signed-off-by: Kory Maincent --- drivers/net/pse-pd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/pse-pd/Kconfig b/drivers/net/pse-pd/Kconfig index 80cf373a5a0e..577ea904b3d9 100644 --- a/drivers/net/pse-pd/Kconfig +++ b/drivers/net/pse-pd/Kconfig @@ -5,6 +5,7 @@ menuconfig PSE_CONTROLLER bool "Ethernet Power Sourcing Equipment Support" + depends on REGULATOR help Generic Power Sourcing Equipment Controller support. @@ -14,7 +15,6 @@ if PSE_CONTROLLER config PSE_REGULATOR tristate "Regulator based PSE controller" - depends on REGULATOR || COMPILE_TEST help This module provides support for simple regulator based Ethernet Power Sourcing Equipment without automatic classification support. For -- 2.34.1