Message ID | 20240214-mbly-gpio-v1-6-f88c0ccf372b@bootlin.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-65543-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp1337803dyb; Wed, 14 Feb 2024 08:34:03 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVvAkRUx52vF59dW5Oy9WjLbozC5GH2T5xzqkTfHbywRPp8tzAHGhRNPvZfitF+AmZSY9MevairHfUmDndtT+hJmrF6TA== X-Google-Smtp-Source: AGHT+IGF1i7H9bfXYzYyMF9d9omS0nF1FrlkaSO9WfN+hqE3HMDNc62S6nQBUfvkLRb/wC3iL/5L X-Received: by 2002:a17:902:efd4:b0:1d9:f83e:3a54 with SMTP id ja20-20020a170902efd400b001d9f83e3a54mr2802664plb.64.1707928443406; Wed, 14 Feb 2024 08:34:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707928443; cv=pass; d=google.com; s=arc-20160816; b=qpPAnvdrZZdniSHsxTf94vk83iCWf6y6S1ES/Qj2+g8swbhirldIx/4mL+sArHq7wl QV7oag5nmqlLsvR+0WZQGv54u2dFPjUAH++C85gjDQEkRzLoNvC0Ie414swamSyVo1uR u1vw4l7+/QHwC+x3iMl9ygdNM7jhajPnbrcdfg4fNM73m7v/uJT9Ca7gBheS5Bji9zq/ mx//RWzQS2NZ7KFX2zfMKUcheHTWMZwWFzFuMjRNdPKYETKFipQilxdVnIm1hb7dJp8n SHYhqEsq7PMJ1kNSoU7BizqAsJeDXoce/nzfenKrTfrsv/AUVaZSg1prmjDtnVoEC4lF kLtQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=+wsn+jBCyAUawbTGmVyBrS+8c7hk5AWGpkwIkj0NY+U=; fh=6pFRbBvIs2jM2wmgK8Z9DeUGawmyjHgtdg86lAMwUQc=; b=0wEMfb+9LE3zzHbahkdsLhbJCXNLSwJExQx41ZtDb9K7gKm5KB8QV9/cN3CAgdEkJN u7BQ/3JVuaQxmxlLtGSOREgYrYKxqzycvF5KueFU6Lew+7yUfbh1ewb7NbwdrGAgJN06 pE74pqEicjJ6DLF6zAuCfN4v3dIwUVA/J5yLNf9SQCjuiegyxjKrm5gaF281JJBprKnW 6s69UFeB+/EqDXUYp7jZVklT4b4ELk6nQBJE02P44SU8PGkq6SGhbVgvI/hvWhrZTO3B luadCUfw6Yb5KSh6rTyM8fzdBiqLxehv5Gn5yIkwxguKqN54MoC4SJZ6Sw6zeXDqdP1u BrbQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=UgzKu1dS; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-65543-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65543-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com X-Forwarded-Encrypted: i=2; AJvYcCWzzUiUBM97u7DIf/2inx6ZXtyRI2Xj6YWQFu/aMhzmV2A+BbfpGIWy4lH25hZj+JWLHr82gm4P7m3wyRNBAG5oHaxMEw== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id s18-20020a632c12000000b005dc4a006ee8si3843792pgs.477.2024.02.14.08.34.03 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 08:34:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65543-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=UgzKu1dS; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-65543-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65543-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 2E0B0283B57 for <ouuuleilei@gmail.com>; Wed, 14 Feb 2024 16:33:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 229826DD1D; Wed, 14 Feb 2024 16:28:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="UgzKu1dS" Received: from mslow1.mail.gandi.net (mslow1.mail.gandi.net [217.70.178.240]) (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 DD83F60ED2; Wed, 14 Feb 2024 16:28:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.178.240 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707928083; cv=none; b=mqsbHdBweaYOih3fk4rNPoW3v/MGISu9htf3px0Txdwlk27ZSESjTDBKho4poHv6sEmeFkmPJiCq6eBvYskdLgjEeSJayvuWSsFLKw2FZMUMnD1JB3RU00KM8fNkGk++0j9Q65go06KB9Tr6T2oaAzfBf4cwj8q7ZRV7hfI9pjc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707928083; c=relaxed/simple; bh=AC+69MRBi3CQUcdl8mSedZmwJ6Gy8HYyOO7Mzl3OjFQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KiqqUayMLSTixanKxPHx1nuNirwkKgUbgV+VHCBb8Bg5wP6KOX97x6NatQ3U2muuwUv6Se1YiRK8a3GDOw5yDEtaKzeh2HGqtGxcobw7M8uX9G4+C5+ps8bqOkPm6KxxdzAMgGAg+DuCH6HgolLkingtg9LRJ1mhrTJw+9/LRP8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=UgzKu1dS; arc=none smtp.client-ip=217.70.178.240 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: from relay3-d.mail.gandi.net (unknown [IPv6:2001:4b98:dc4:8::223]) by mslow1.mail.gandi.net (Postfix) with ESMTP id 1E2C4C38EE; Wed, 14 Feb 2024 16:24:57 +0000 (UTC) Received: by mail.gandi.net (Postfix) with ESMTPSA id 7817860004; Wed, 14 Feb 2024 16:24:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1707927889; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+wsn+jBCyAUawbTGmVyBrS+8c7hk5AWGpkwIkj0NY+U=; b=UgzKu1dSOK3t5P0+yFYbUc0G+EW1d7fw6zkqIR9j+u1aq3EBFxXxw/HQoy7l787Zoi1FBX sq7xLeSuCme+y4uuIVPcRRvAkWADPTveSfJFUZklkJO7AVefcLMWwMRKNxDdE0hqZ+9Sor +utEeY5rF1/3XYVXzUgvXJ0szEjuM0mI21q2osdJMhDIFdGvL2R6Vi1ZNQSD5cAxnlYCWi 6GrVQu13SYyoSa6tH7xn3x0vU5a/cmZiPvea4OlGe8qjZp7MV/r8WyIO7N35/3x8OioVa5 mxWRlhVJwkw0r80Ww4jpoZ+Qz6JjhoGWUiWAZXNGicZot+1mUpN/OxA8jqkJMA== From: =?utf-8?q?Th=C3=A9o_Lebrun?= <theo.lebrun@bootlin.com> Date: Wed, 14 Feb 2024 17:23:59 +0100 Subject: [PATCH 06/23] pinctrl: nomadik: fix build warning (-Wformat) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240214-mbly-gpio-v1-6-f88c0ccf372b@bootlin.com> References: <20240214-mbly-gpio-v1-0-f88c0ccf372b@bootlin.com> In-Reply-To: <20240214-mbly-gpio-v1-0-f88c0ccf372b@bootlin.com> To: Linus Walleij <linus.walleij@linaro.org>, Bartosz Golaszewski <brgl@bgdev.pl>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Philipp Zabel <p.zabel@pengutronix.de>, Thomas Bogendoerfer <tsbogend@alpha.franken.de> Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, Gregory CLEMENT <gregory.clement@bootlin.com>, Vladimir Kondratiev <vladimir.kondratiev@mobileye.com>, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, Tawfik Bayouk <tawfik.bayouk@mobileye.com>, =?utf-8?q?Th=C3=A9o_Lebrun?= <theo.lebrun@bootlin.com> X-Mailer: b4 0.12.4 X-GND-Sasl: theo.lebrun@bootlin.com X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790892775411783412 X-GMAIL-MSGID: 1790892775411783412 |
Series |
Rework Nomadik GPIO to add Mobileye EyeQ5 support
|
|
Commit Message
Théo Lebrun
Feb. 14, 2024, 4:23 p.m. UTC
Fix compiler warning found in the pinctrl-nomadik platform driver. GCC
message is as such:
drivers/pinctrl/nomadik/pinctrl-nomadik.c:855:21: warning:
format ‘%u’ expects argument of type ‘unsigned int’, but argument 5
has type ‘size_t {aka const long unsigned int}’ [-Wformat=]
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
---
drivers/pinctrl/nomadik/pinctrl-nomadik.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/nomadik/pinctrl-nomadik.c b/drivers/pinctrl/nomadik/pinctrl-nomadik.c index f3897dbfa2c3..d2a40c3dd0f6 100644 --- a/drivers/pinctrl/nomadik/pinctrl-nomadik.c +++ b/drivers/pinctrl/nomadik/pinctrl-nomadik.c @@ -871,7 +871,7 @@ static int nmk_pmx_set(struct pinctrl_dev *pctldev, unsigned function, if (g->altsetting < 0) return -EINVAL; - dev_dbg(npct->dev, "enable group %s, %u pins\n", g->grp.name, g->grp.npins); + dev_dbg(npct->dev, "enable group %s, %zu pins\n", g->grp.name, g->grp.npins); /* * If we're setting altfunc C by setting both AFSLA and AFSLB to 1,