{"id":2231315,"url":"http://patchwork.ozlabs.org/api/patches/2231315/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-gpio/patch/4bcb78b40d685b0aab8c3150d379240ffb765b37.1777562725.git.geert+renesas@glider.be/","project":{"id":42,"url":"http://patchwork.ozlabs.org/api/projects/42/?format=json","name":"Linux GPIO development","link_name":"linux-gpio","list_id":"linux-gpio.vger.kernel.org","list_email":"linux-gpio@vger.kernel.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<4bcb78b40d685b0aab8c3150d379240ffb765b37.1777562725.git.geert+renesas@glider.be>","list_archive_url":null,"date":"2026-04-30T15:33:17","name":"[6/7] pinctrl: renesas: rzv2m: Fix type in .pin_config_group_get() callback","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"f7453e4be771bf75ce5fce548b8c3427dd6ff35a","submitter":{"id":63808,"url":"http://patchwork.ozlabs.org/api/people/63808/?format=json","name":"Geert Uytterhoeven","email":"geert+renesas@glider.be"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linux-gpio/patch/4bcb78b40d685b0aab8c3150d379240ffb765b37.1777562725.git.geert+renesas@glider.be/mbox/","series":[{"id":502326,"url":"http://patchwork.ozlabs.org/api/series/502326/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-gpio/list/?series=502326","date":"2026-04-30T15:33:14","name":"pinctrl: Fix types in .pin_config_group_get() callbacks","version":1,"mbox":"http://patchwork.ozlabs.org/series/502326/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2231315/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2231315/checks/","tags":{},"related":[],"headers":{"Return-Path":"\n <linux-gpio+bounces-35941-incoming=patchwork.ozlabs.org@vger.kernel.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linux-gpio@vger.kernel.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.234.253.10; helo=sea.lore.kernel.org;\n envelope-from=linux-gpio+bounces-35941-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)","smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201"],"Received":["from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5z0c0JPHz1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 01:41:04 +1000 (AEST)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 707713078177\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 15:34:29 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 394C03358B0;\n\tThu, 30 Apr 2026 15:34:00 +0000 (UTC)","from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org\n [10.30.226.201])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E8D32FD695;\n\tThu, 30 Apr 2026 15:33:59 +0000 (UTC)","by smtp.kernel.org (Postfix) with ESMTPSA id 1457BC2BCC6;\n\tThu, 30 Apr 2026 15:33:55 +0000 (UTC)"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777563240; cv=none;\n b=dMKhmqT9XnLfnLcpwbbnDnEYFDCW8ZBYHAk2woPKPW2R8+XZzmydMLXdGPurdg6sC+9vBkwgOt3x7x3BdoHfD5U8AIJpxTA2YeMsFuDtAHCyGgbxwNq5DAtzgibwNYZWORhKm+QGpO6SOZZ6n7CeAkXRZgRPF4eaAdAmb5k5TZc=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777563240; c=relaxed/simple;\n\tbh=85aBRNknhmuEGkiw7kGtubjhGyd/2ROHbunjWidKiGU=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=ATtHR0BGrGKtHB03hR80+nJ3MU+CkRooAakvM2/4EQXOUbIzI/gA4xZfd2Z6oyrgE0kOYmug3MbQdZkOmlCQd4h+2JwBIpKuFYN0vp9J1woNdVUOZ+yhMnhALqxHjqdeDxaFgdrB45/9aiYb6Tccf8Y3tE/cwJt8StAM9XmlhHU=","ARC-Authentication-Results":"i=1; smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201","From":"Geert Uytterhoeven <geert+renesas@glider.be>","To":"Linus Walleij <linusw@kernel.org>,\n\tLorenzo Bianconi <lorenzo@kernel.org>,\n\tSean Wang <sean.wang@kernel.org>,\n\tPaul Cercueil <paul@crapouillou.net>,\n\tTony Lindgren <tony@atomide.com>,\n\tHaojian Zhuang <haojian.zhuang@linaro.org>,\n\tMatthias Brugger <matthias.bgg@gmail.com>,\n\tAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>,\n\tLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>","Cc":"linux-gpio@vger.kernel.org,\n\tlinux-mediatek@lists.infradead.org,\n\tlinux-kernel@vger.kernel.org,\n\tlinux-mips@vger.kernel.org,\n\tlinux-arm-kernel@lists.infradead.org,\n\tlinux-omap@vger.kernel.org,\n\tlinux-renesas-soc@vger.kernel.org,\n\tGeert Uytterhoeven <geert+renesas@glider.be>","Subject":"[PATCH 6/7] pinctrl: renesas: rzv2m: Fix type in\n .pin_config_group_get() callback","Date":"Thu, 30 Apr 2026 17:33:17 +0200","Message-ID":"\n <4bcb78b40d685b0aab8c3150d379240ffb765b37.1777562725.git.geert+renesas@glider.be>","X-Mailer":"git-send-email 2.43.0","In-Reply-To":"<cover.1777562725.git.geert+renesas@glider.be>","References":"<cover.1777562725.git.geert+renesas@glider.be>","Precedence":"bulk","X-Mailing-List":"linux-gpio@vger.kernel.org","List-Id":"<linux-gpio.vger.kernel.org>","List-Subscribe":"<mailto:linux-gpio+subscribe@vger.kernel.org>","List-Unsubscribe":"<mailto:linux-gpio+unsubscribe@vger.kernel.org>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit"},"content":"On 64-bit platforms, \"unsigned long\" is 64-bit.  Hence checking if all\n\"unsigned long\" configuration values are equal should be done using an\n\"unsigned long\" temporary.\n\nSigned-off-by: Geert Uytterhoeven <geert+renesas@glider.be>\n---\n drivers/pinctrl/renesas/pinctrl-rzv2m.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)","diff":"diff --git a/drivers/pinctrl/renesas/pinctrl-rzv2m.c b/drivers/pinctrl/renesas/pinctrl-rzv2m.c\nindex 495e7f5d41280dc9..827b3e91a6cc2622 100644\n--- a/drivers/pinctrl/renesas/pinctrl-rzv2m.c\n+++ b/drivers/pinctrl/renesas/pinctrl-rzv2m.c\n@@ -695,8 +695,9 @@ static int rzv2m_pinctrl_pinconf_group_get(struct pinctrl_dev *pctldev,\n \t\t\t\t\t   unsigned int group,\n \t\t\t\t\t   unsigned long *config)\n {\n+\tunsigned long prev_config = 0;\n \tconst unsigned int *pins;\n-\tunsigned int i, npins, prev_config = 0;\n+\tunsigned int i, npins;\n \tint ret;\n \n \tret = pinctrl_generic_get_group_pins(pctldev, group, &pins, &npins);\n","prefixes":["6/7"]}