Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 AFF11349CF3; Sat, 12 Sep 2026 16:56:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789232173; cv=none; b=tuoXReOoDuMdoytU6CegntkK1RmubphVsZ7p2Rc3C866KYheBIuXG8l5yqK33G0MopqzHSXtP+6M/QZlOYSG29HvRLTKaFV6wuSPXhcix47LjROrsqsrQ6kCHQJYAqqBt/3D2kq6DDCJQ6+STEJUOH4gHljswAKA5QPrlU7Y87M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789232173; c=relaxed/simple; bh=Jdso4LGJlw2TpiRS02fqAK4HdVpnzZOj4630b3quJhQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NVtIhS5XmNja4M9+GwXPftEpyHvd2946IhFWzpqG6g/p6bhIYWS9DqG1440CgZSnqcwPqhscYElo5cIaj9JAQyCK69F4RuWZcvDcT2ojVndsuNp4qcXiGqSvX9i+mf6eHbJ3b6LlHOgvtF7tsVZLuWhTfXSUDR4JntL9hTDM5L0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zyjVXRBO; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="zyjVXRBO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F45B1F000FF; Sat, 12 Sep 2026 16:56:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789232172; bh=Q3QE/wQc0P2E14aCyWaodC6soGo3k07t7WLIsxOkTpc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=zyjVXRBOyR0xqnRENhC81Ud0DQbCEi10vq5J5dMojtPzqZTSsnWghnYkpeBQH2iAd wRX+76+EACLz4EWHixj7tVInYo38uWnTJH8l46hHlbyajNKFNEkLCBUpNVRhhl9HyE VfipvyYkbZtdODToSVCOyoA8qQ49Y+QtuS1knFXU= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Hao Chang , Qingliang Li , Chen-Yu Tsai , Linus Walleij , Sasha Levin Subject: [PATCH 6.1 1146/1191] pinctrl: mediatek: eint: Drop base from mtk_eint_chip_write_mask() Date: Sat, 12 Sep 2026 09:04:34 +0200 Message-ID: <20260912065613.887498253@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260912065548.086904252@linuxfoundation.org> References: <20260912065548.086904252@linuxfoundation.org> User-Agent: quilt/0.69 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 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Chen-Yu Tsai [ Upstream commit 3ca99eed042620d12315e9272ed3ef260ca29877 ] When support for multiple EINT base addresses was added in commit 3ef9f710efcb ("pinctrl: mediatek: Add EINT support for multiple addresses"), mtk_eint_chip_write_mask() was changed to write interrupt masks for all base addresses in one call. However the "base" parameter was left around and now causes sparse warnings: mtk-eint.c:428:44: warning: incorrect type in argument 2 (different address spaces) mtk-eint.c:428:44: expected void [noderef] __iomem *base mtk-eint.c:428:44: got void [noderef] __iomem **base mtk-eint.c:436:44: warning: incorrect type in argument 2 (different address spaces) mtk-eint.c:436:44: expected void [noderef] __iomem *base mtk-eint.c:436:44: got void [noderef] __iomem **base Since the "base" parameter is no longer needed, just drop it. Fixes: 3ef9f710efcb ("pinctrl: mediatek: Add EINT support for multiple addresses") Cc: Hao Chang Cc: Qingliang Li Signed-off-by: Chen-Yu Tsai Signed-off-by: Linus Walleij Signed-off-by: Sasha Levin --- drivers/pinctrl/mediatek/mtk-eint.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/mediatek/mtk-eint.c b/drivers/pinctrl/mediatek/mtk-eint.c index 6787596167b92..85a4f2d3701f5 100644 --- a/drivers/pinctrl/mediatek/mtk-eint.c +++ b/drivers/pinctrl/mediatek/mtk-eint.c @@ -243,7 +243,7 @@ static int mtk_eint_irq_set_wake(struct irq_data *d, unsigned int on) } static void mtk_eint_chip_write_mask(const struct mtk_eint *eint, - void __iomem *base, unsigned int **buf) + unsigned int **buf) { int inst, port, port_num; void __iomem *reg; @@ -422,7 +422,7 @@ static void mtk_eint_irq_handler(struct irq_desc *desc) int mtk_eint_do_suspend(struct mtk_eint *eint) { - mtk_eint_chip_write_mask(eint, eint->base, eint->wake_mask); + mtk_eint_chip_write_mask(eint, eint->wake_mask); return 0; } @@ -430,7 +430,7 @@ EXPORT_SYMBOL_GPL(mtk_eint_do_suspend); int mtk_eint_do_resume(struct mtk_eint *eint) { - mtk_eint_chip_write_mask(eint, eint->base, eint->cur_mask); + mtk_eint_chip_write_mask(eint, eint->cur_mask); return 0; } -- 2.53.0