Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2485967rbb; Wed, 28 Feb 2024 03:28:46 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUyZSy48FqETPYMW4CW2Ic2/C7fTbfX+/PEuOmUfmlj7EdDyqCcqD9Y1lI0i5EGjHdLByBOBFcygYobnBlHFvYrMIG1r/JXthr55Ty7lw== X-Google-Smtp-Source: AGHT+IFDl89aXs/gI64/t8R01Ufe2gE/OoyrgmSXMdzAxU1W+TG6OC4qiQNDuaelDBybkjcPdkoI X-Received: by 2002:a05:622a:1a15:b0:42e:693a:a6fd with SMTP id f21-20020a05622a1a1500b0042e693aa6fdmr14677468qtb.27.1709119726429; Wed, 28 Feb 2024 03:28:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709119726; cv=pass; d=google.com; s=arc-20160816; b=p6NDoAoENhFxXP9kh6u0oO3MkbcGB7xvkPdvqH2lcOIqrmvT8tEv5ek0AT7mdZ2MQ8 mwkoB49f/2SdV4YcSrVRFn1/BGgsDySSRUjx6/lEDIA0dvu7R5wR2PhD8IAfctb0jsaN RFj7091SbViTZ4BY4LBjNWX2NAnXG138WhMBbShcoPdY+cxQyAP2qX0NYzKgv3UniUAe 910gy4bhFAvj52pmvxjkyy77vFMeD6fVeV9wtxv8gNj5E9ML47b8OtJAvLtgVn/gNhme DnMUCa87upmromi7UMu2rUS3W26EpHPGz832TyWML/zpz211/+JE3KM8g3JJmrddHyNJ HNXQ== 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=BpsD83BM+PlNWBQdcZslFjWvjlE691PT9L/5TLzg2mc=; fh=FEGj322JUxHP58NgFBs9atrc2KpQCnFuCu2ueZtAhdY=; b=tDFVwlEEJGe90lE9gCT5f6WKp4Auf4HGTRW8K/nFc9ZqUzFOgxlqL90+qlaqatZAOm nxUaScZgo8x0OhiS5qf11WevePKirjJqr8sbdSQ286c2iyVZRWhU+6SMsOkNKEKxQzBT LHpLg9p3k7SNXdgnX3k0F51tBBCt+dWXuj6H90VXqd1RXotflM7m4raIXTmT8TXykbkO IW26pTZ5PcbxwmXZouoM8bXgv0J0sG90g2h5Oov694BnBo3rN70KHFDUJUDy7eEeizxW BU8KtfQvsZIW8VYSsSwrnN5VT5WpZtFfal0QY2E43VSb0AC//usvBL7pWthrxqj88jm7 LY+A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Tj3Fawby; 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-84877-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84877-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d2-20020ac86682000000b0042e57b1efffsi9450309qtp.694.2024.02.28.03.28.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 03:28:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84877-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Tj3Fawby; 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-84877-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84877-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 30C2B1C22781 for ; Wed, 28 Feb 2024 11:28:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A55121384A4; Wed, 28 Feb 2024 11:28:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="Tj3Fawby" Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) (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 4116D2561D; Wed, 28 Feb 2024 11:28:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709119700; cv=none; b=VrpYdCSkExGVsk+vDKfHmVhqb8cQEYUNFEPiyvfn9kaMMISHw8cMChpw/paBtxO8qSjkXcsltlF2t78hjv7maNA5Sw02geA+nYAdHs9FlO1mS+JwZwDsAM4G4np19Vk0gWqv+MR+ZDsye88JBz4Th7LjNQciF0NQK+yLfnY3BIg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709119700; c=relaxed/simple; bh=yr8WX4A44trJtUxl2P9pZk9ZMjMyxNKtR2O698qVrvo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=eSzc7qbFfvaybEkMbT5TsCIZaH+Mst8rnKvMlhrNpihkdBYJ7tm2L7+AtOl88CdBqJ6y10G2RP5y09W0y3dP4IgbWUzBVPTE+wir6qpHpwyEXwPWv+fb3Jg+f+BGqDjQXr/dKMvLvbxCLhkEuxEg9HPo3Y7b8aJOdXa3DgVVn4E= 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=Tj3Fawby; arc=none smtp.client-ip=217.70.183.201 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: by mail.gandi.net (Postfix) with ESMTPSA id 2CEA91BF20D; Wed, 28 Feb 2024 11:28:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709119696; 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=BpsD83BM+PlNWBQdcZslFjWvjlE691PT9L/5TLzg2mc=; b=Tj3FawbyJENHxmceKliYSLPqE6Hp1GKvvRnQ3ZAyremnWZUy2b5RpAqxCnNMz2VoYuZWlp UcNdL1qoKeF5I1vDuTVuHSWxNaQJpgHgnl/HUr/zGmh4Zs2MsiDzpcEZ/j2DS07mGz4s6I jNJcrWwuHfCqsKIJGKgGqj4+k+kovhSZtupcbZsGlj+bOpb52PSbaGiLOTCtQee+jdQZMT bvRct0OhtZyY7S85KwwFECaXG0uVPgSmVDf4+/rsNMkEHwpR3aQ8llZ+d+Iivss//yTBIr LP/co5yvACfpYIT0zlalV6yoyFlGvW0EGso+wqfhr2v4ZST98wG5u4bAj8usNA== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Wed, 28 Feb 2024 12:28:06 +0100 Subject: [PATCH v2 08/30] pinctrl: nomadik: fix build warning (-Wformat) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240228-mbly-gpio-v2-8-3ba757474006@bootlin.com> References: <20240228-mbly-gpio-v2-0-3ba757474006@bootlin.com> In-Reply-To: <20240228-mbly-gpio-v2-0-3ba757474006@bootlin.com> To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Thomas Bogendoerfer 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 , Vladimir Kondratiev , Thomas Petazzoni , Tawfik Bayouk , =?utf-8?q?Th=C3=A9o_Lebrun?= X-Mailer: b4 0.13.0 X-GND-Sasl: theo.lebrun@bootlin.com 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 --- 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 16d836157f74..1be0c48712b7 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, -- 2.44.0