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 C8FE92E8B64; Sat, 12 Sep 2026 15:20:24 +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=1789226425; cv=none; b=L51mXi1U+TJfKpuvWfzf/6XpLnF35nLQYABio7sINGjcMwWPU0sIPbm8HtgmOYoaNNksvqvpiS56WUFNBHoEllaMrElfPjYW1R+q8cn+4BDBp+/ogMuyQ88jP0XxDm8/68kgYlxSZghD5j74DTL1i9uvVHZaFM+9jN4bIAHsY98= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789226425; c=relaxed/simple; bh=b/ZFFceY/UI31Lc0IjTfBv/a78A9dr+SUSmM+HTKv1o=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=jjDE3QNxhki7xmMTRaQjACaemA9wwTWVjKg+i5817Gv5QjcTK8w7QFhbyuIevpQlmt1EaNLiW9W5ZGWzoLRRgniCi6z4cT438a/d0VwXCjchCBX0iNL1b8vVdfKTqJP5LiozwZNA6nqvn5k0GBqv4k3N0iGyLqPizVdrFJ8IK3o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BDURL2em; 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="BDURL2em" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CEBAB1F000FF; Sat, 12 Sep 2026 15:20:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789226424; bh=LkwoTzmik/ve1CCk1czNCUV9GjMap4qSVJxcSjr7Reg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=BDURL2empFBK5RsOMjEiYtBrUNJ6rAG5k1BOni89ODVMilgoBU1QnlYE6zzj1/1nx vmcxxwAZkIN2/ritoAIGyZ2rbMxHmdfkKCljsMmA3WE2+1iYt6SuEDBhdDbpMOISBD DQGp87sgW83CX7AHaJG0JFQpd8m6TuwpGHoH+rVA= 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.6 1398/1424] pinctrl: mediatek: eint: Drop base from mtk_eint_chip_write_mask() Date: Sat, 12 Sep 2026 09:03:50 +0200 Message-ID: <20260912065638.570597814@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260912065607.279695368@linuxfoundation.org> References: <20260912065607.279695368@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.6-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