Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2274456lqt; Mon, 22 Apr 2024 06:37:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUTLPlEqqS9TRBYc4ov/au01UOl09J5mRGjni1Ac1/GnaglAyowAM7vEAnVvCitDNjuqiSY5NSoh9AfDL90oxC6TZP3vDiXPsV2NH0qhg== X-Google-Smtp-Source: AGHT+IHkYm0vza6ZfIir6ivdaWxGCSrQ11phqolQjuMiuQ49AdMNrxA08nZbzMv7e55QbgJ5yD5v X-Received: by 2002:a05:6358:6e8c:b0:186:e49:2f21 with SMTP id q12-20020a0563586e8c00b001860e492f21mr13317525rwm.20.1713793048357; Mon, 22 Apr 2024 06:37:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713793048; cv=pass; d=google.com; s=arc-20160816; b=xb+04Di2nOIERuj1UPL7WPUfOwes860++y/UPewyTQNy/wk/YL7lx9XUba1zNA4tf2 ze53GqZILkSvIv7J7UdPwZMQxO1NZgxSeLAmWMdTzA3Yqy6JwcPVHVmf1d+Ny8hkDveb s3EVbfEMP0xQpZV44fVJ6nVf+6aq8J36PAGzCDcrxS7CzUninNlpl2YzTn0nxiNkCFIM thHBHFWgcNjb8XnSlS9Yv1f9cwgzaB9F7IV21NLzwLNmajTrNWq9YLs2wY/Z5Z3bWBeT s9eiidQx8mWC87a+c4aPmNJBMO+XHcniDsFhZZMnviQH4vujiajY8aalhGN1wvrH07cX qOyA== 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=k2f64ANu3PLImfYGjhtzlKzsVrMAXXlyB8IVnzSIbzQ=; fh=6zHey8HhRWw09EMw8wVlVwn/5Bz8fs0SRcFL79G2Hs0=; b=WgN9I1oBWafazkRT52Oz4SB+L+CYds/GggQHdxXPm+sg3+MRuFc5KJfNfsyejinT3I sFBf9PYvRp+W1rQe45bO7Bg/BwYxz1smUndxBV3AxF9ZX+eYNy3b0pG1gY69hzNJ158/ SXtng/cFN12BJvO/ZGOKOMtBTeJw/y4Pkb7dhuJvFwDnjgaGT4yeeBHeC26HnYxsivwY o2VZeEkPkoQ0dxdhR1aevC9UBTSTPiaayj3TaZWUCDxLVxlBHypp8JWzNppSKFgsTrHE PuXdrdbstlZHUFlVzdUpHfGRec46JXpGVKiBhAeayyZjejUaHY7mCj9qCTEVlf081QTP u2QA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=jIH1GQXi; 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-153465-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153465-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id jz7-20020a0562140e6700b006a0515bd3d5si10666123qvb.227.2024.04.22.06.37.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 06:37:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153465-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=jIH1GQXi; 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-153465-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153465-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 021851C20CAA for ; Mon, 22 Apr 2024 13:37:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9388A152188; Mon, 22 Apr 2024 13:36:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="jIH1GQXi" Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (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 56FDF746E; Mon, 22 Apr 2024 13:36:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713792971; cv=none; b=Msdt49HAGkvs0DSxtMCQ0hazTPxEBxGidv2EA0Wdh6mz3vTCY8LJx5jd4vvxe/6gnkW/CBZLqG+U9p3+at8XBUlujuYHoEO3E6HM/EZ74CvEIG5JE2hNxs/uhl0vYQDLA14VCMPAyYJ4Kht3G8ez91vMMAgDBfwgpEHPFLig070= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713792971; c=relaxed/simple; bh=MOieSkGFlLap9YqZh1kDWE4xoA3yyZ85BdHa4q/AEjY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sQyqbpvdTNNoG9z7gWqmeFWMymNCXFrFc1XdcjXkQ3JQau7IulN/N527wqqY7NhZgVcPaDKUr5yzTjbze0wsOMRNqKHSL463UmgIwgx+n2TNSHvpeyJ8cxa7+HZHLOCp2QhpTWMs8XkbnhCMOwnMAju+34FokZg8ppp8OUae/Is= 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=jIH1GQXi; arc=none smtp.client-ip=217.70.183.197 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 0140E1C0012; Mon, 22 Apr 2024 13:36:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1713792962; 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=k2f64ANu3PLImfYGjhtzlKzsVrMAXXlyB8IVnzSIbzQ=; b=jIH1GQXi2hnbWCvqH9FvnVxSgSQbO+u0U4T7PfJRF8cSZ/ciZ6Bt8ZEjh87MJ3UiP8Ohgi xr3K3izrHsmttmBYS03DJigcLXh+KWJQKnTV1CN1qbsBx33ULXJ/WPGnjh6v3rTZsopnsB CB3pYpI7nikrB3+/Ve42SocQGUNjTb1BoBgSTsnId/iWrjPjVoy2za593Q0goTXILNdSek 0SPcjzNZHNZ70LQ/qywQOlig1OBhQdVZpy+lyWivMuubPCngBBk5EMOdnG4VyyYOW2zOZ3 gdvPfh4PiRCkuNLjdscVYQ7iCU9On9m8SMEpuFdqg60zFyOhZzNms/zuadY8KA== From: "Kory Maincent (Dent Project)" Date: Mon, 22 Apr 2024 15:35:48 +0200 Subject: [PATCH net-next v2 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: <20240422-fix_poe-v2-3-e58325950f07@bootlin.com> References: <20240422-fix_poe-v2-0-e58325950f07@bootlin.com> In-Reply-To: <20240422-fix_poe-v2-0-e58325950f07@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 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