{"id":2231318,"url":"http://patchwork.ozlabs.org/api/patches/2231318/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-gpio/patch/6befae30f129daffd94f7a9507d874443e444a21.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":"<6befae30f129daffd94f7a9507d874443e444a21.1777562725.git.geert+renesas@glider.be>","list_archive_url":null,"date":"2026-04-30T15:33:16","name":"[5/7] pinctrl: renesas: rzg2l: Fix type in .pin_config_group_get() callback","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"5bb1ad13d23d748009f3013b3539950fc2e95e9c","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/6befae30f129daffd94f7a9507d874443e444a21.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/2231318/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2231318/checks/","tags":{},"related":[],"headers":{"Return-Path":"\n <linux-gpio+bounces-35940-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=2600:3c15:e001:75::12fc:5321; helo=sin.lore.kernel.org;\n envelope-from=linux-gpio+bounces-35940-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 sin.lore.kernel.org (sin.lore.kernel.org\n [IPv6:2600:3c15:e001:75::12fc:5321])\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 4g5z1w0Kd3z1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 01:42:12 +1000 (AEST)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sin.lore.kernel.org (Postfix) with ESMTP id 844AD304AA77\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 15:34:22 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 35B1F329E7E;\n\tThu, 30 Apr 2026 15:33:56 +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 F37582E8B98;\n\tThu, 30 Apr 2026 15:33:55 +0000 (UTC)","by smtp.kernel.org (Postfix) with ESMTPSA id 03E30C2BCB3;\n\tThu, 30 Apr 2026 15:33:51 +0000 (UTC)"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777563236; cv=none;\n b=n9JzmDMs2obLNG9cOxIT3j3NOSl+R5Xwp51q5/+f0YqoYdlH13nLnpSxzo4/eOXiBkC3dVq6j2kXc4hXrxEXjBjOyyFheg0VODY73fLSXB4gRNuHc34MgM3qv4q50ScSKH7elr0E46g6VDK+JMfQAZeOt+kVVJ/754wdbWn4rJg=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777563236; c=relaxed/simple;\n\tbh=ngjibsCsSzDLd6OSKqwa8aDnxPKUB7O0twtyAwWZNTk=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=bgecCj6B5iEsFJjyUaOuL03vad3YGjjklkVgtnCAdG5y25JgZxjUkl70bcF0XedPY14kShCupc1PVm01xBKLFIwXB7LRH3bOvfL+iDjyseDlWrmEnmtRpmy28AiYbza1MICH4BcPNOmrfGPUsMttdSI2Vg6u3q/RS7BXCNrkPCg=","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 5/7] pinctrl: renesas: rzg2l: Fix type in\n .pin_config_group_get() callback","Date":"Thu, 30 Apr 2026 17:33:16 +0200","Message-ID":"\n <6befae30f129daffd94f7a9507d874443e444a21.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-rzg2l.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)","diff":"diff --git a/drivers/pinctrl/renesas/pinctrl-rzg2l.c b/drivers/pinctrl/renesas/pinctrl-rzg2l.c\nindex bc2154b695149809..5b0f23af5a6cc9de 100644\n--- a/drivers/pinctrl/renesas/pinctrl-rzg2l.c\n+++ b/drivers/pinctrl/renesas/pinctrl-rzg2l.c\n@@ -1647,8 +1647,9 @@ static int rzg2l_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":["5/7"]}