From mboxrd@z Thu Jan 1 00:00:00 1970 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 A09923054F4; Tue, 2 Sep 2025 13:42:32 +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=1756820552; cv=none; b=Au0JwkNoMUiJOKRaMPB5MziRMPpV3xF0obItV14hKc0/EiPLQ884eEqkrw4VrwcpHG8cnkg+KIVwSMHylcvJsMZkad94wCuK7PqmSNlQxAKsmayLXTtr/Er59IfGUyonOCugBFM6/Z7637r5pl/R3M2F72/AnYLDvwYPEjoc5+M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756820552; c=relaxed/simple; bh=sOBKsrfoPoTWduovyUwz6GqsuqVcP8y3y3Pw5BWUAnQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CO8ADumHchPcl17CH1ZrNghudUi+4ujLKOfsXuNWJD8khdn8RlUpR+cjfY/YWKPJuaI98onlmjbgkzt4TiyE62GuLUZK7DiGe81mLpSML1D03kpp6rC136fXPEJHhiK3XfIIpoKKDncBGnGSUbsiUtoSn+0AAiYUNjnOORIXQnY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jsHNJ399; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="jsHNJ399" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1A574C4CEED; Tue, 2 Sep 2025 13:42:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1756820552; bh=sOBKsrfoPoTWduovyUwz6GqsuqVcP8y3y3Pw5BWUAnQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jsHNJ399OjPkUOuXmGMLjee1AuUmUdMopwqPEjEhsOPTR+5cnO1H16USF4ZJVMYUh DMH2x50aEA0gUViwyzNpz/OZhmf/apiXs8HDgCoIAUuxr+KX8rqXoQMqJiKXKugHb0 9zR+SgxSt+MqI1vHO+D9Zzu5kPnB5qUu1AMfZovM= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Randy Dunlap , Linus Walleij , Sasha Levin Subject: [PATCH 5.15 01/33] pinctrl: STMFX: add missing HAS_IOMEM dependency Date: Tue, 2 Sep 2025 15:21:19 +0200 Message-ID: <20250902131927.105220495@linuxfoundation.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20250902131927.045875971@linuxfoundation.org> References: <20250902131927.045875971@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Randy Dunlap [ Upstream commit a12946bef0407cf2db0899c83d42c47c00af3fbc ] When building on ARCH=um (which does not set HAS_IOMEM), kconfig reports an unmet dependency caused by PINCTRL_STMFX. It selects MFD_STMFX, which depends on HAS_IOMEM. To stop this warning, PINCTRL_STMFX should also depend on HAS_IOMEM. kconfig warning: WARNING: unmet direct dependencies detected for MFD_STMFX Depends on [n]: HAS_IOMEM [=n] && I2C [=y] && OF [=y] Selected by [y]: - PINCTRL_STMFX [=y] && PINCTRL [=y] && I2C [=y] && OF_GPIO [=y] Fixes: 1490d9f841b1 ("pinctrl: Add STMFX GPIO expander Pinctrl/GPIO driver") Signed-off-by: Randy Dunlap Link: https://lore.kernel.org/20250815022721.1650885-1-rdunlap@infradead.org Signed-off-by: Linus Walleij Signed-off-by: Sasha Levin --- drivers/pinctrl/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index 31921108e4569..546a8f1bb10bc 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -269,6 +269,7 @@ config PINCTRL_STMFX tristate "STMicroelectronics STMFX GPIO expander pinctrl driver" depends on I2C depends on OF_GPIO + depends on HAS_IOMEM select GENERIC_PINCONF select GPIOLIB_IRQCHIP select MFD_STMFX -- 2.50.1