Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp704551pxb; Tue, 5 Apr 2022 19:32:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDJmdTY92I6xo6PJ+Ey2DtH8pynGawkYmqtm/rUeIIY4lp9pdpbUmDszGgjzoKAHqC3CT7 X-Received: by 2002:a17:902:d714:b0:153:2e9:3bcc with SMTP id w20-20020a170902d71400b0015302e93bccmr6449302ply.83.1649212373414; Tue, 05 Apr 2022 19:32:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649212373; cv=none; d=google.com; s=arc-20160816; b=KOx4znhYepnPi+I2ePE86v63/uLKXXKfdgi8q5t1pF4zWA3QYWp8lAvMHfp48vajK0 unxJUUAHVAsDe5v4DPWl9+cafDU1vL6PVbVGvGz7MLtYry2Iy6uqeqW6xcIHYU7/tyjP rXtY0Vp2nCPO+NDpqKDyRGN/CMq/bp1f7aFr6NoCsOm4qC2iKM5VIODZQF/JoYxu4JZt i7BrcM1wTmlmIHAonrBdxp/rY5LiO2Rc+EQyR8JwvafRPEOFS+91E7jz2yas1RD8RTMG 5mYVlWOrlMxd8pPDoPqKRWyw8L8QNsY9bDd0AOPwcvu+1EXdVlq75itJ4d1KXpl5Ezui fHRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Y/NQ7MWq/zgH9e6/gP7V1an1P6g8abGYXMBzqTzDpJw=; b=RQT6VbAqEOkW/RtQAC/olTHVkTqe9Z70r1GMbhYt6j1cuh0dt0qOuiZKeVJslTtUvn dI0IhiCAewsws5+WQpRBQUCKZCmHolqjKeS7wFK8mxk2y2gkWJvKBNPppAXBnMXuv9gA qivFCWfWKov1hJvlAHZnF9ZJKOirQyVW3k7BuLDP8g6LWFya8xV5vznrIzlgi5FgUtSd GRkMjOaNDqS2i0pl5yx5GMZyP31ehr0KTyUNiupsMxJnSaZDS7+yrMTSPx1XDUmlqBiq G8855oHDLExHpN7rx/WWejuUTI90oXTxtOsmsDWqDtoqBjjunJIAic1i5fOVXSIw1hM3 E+8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=A4gmTpRy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q9-20020a170902f34900b00156a80ba52esi6577337ple.274.2022.04.05.19.32.38; Tue, 05 Apr 2022 19:32:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=A4gmTpRy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353868AbiDEKJk (ORCPT + 99 others); Tue, 5 Apr 2022 06:09:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241094AbiDEIcs (ORCPT ); Tue, 5 Apr 2022 04:32:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EA19140F6; Tue, 5 Apr 2022 01:27:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D09C461001; Tue, 5 Apr 2022 08:27:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE6B2C385A2; Tue, 5 Apr 2022 08:27:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649147237; bh=AxMd18gbofm6w4krU29ftLJswZhLQ32cx6ujG2KM8Xk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A4gmTpRyN1b9/jjzOAekH0kQK8tBhGdPya5qrfToy0H8HkDmW4vh4yiabyemK+vGq xkWZc5UsrSX4UTw3QK21eLqodFvDexafv99XIgs+BOdRxgXzJjaeNnLHQEtHfxRH3M 6KwQ8fw89IRTI1c2ePNCRr4kbgwlZzuc0W4Qs3zg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= , Andy Shevchenko , Linus Walleij Subject: [PATCH 5.17 1044/1126] pinctrl: nuvoton: npcm7xx: Use %zu printk format for ARRAY_SIZE() Date: Tue, 5 Apr 2022 09:29:51 +0200 Message-Id: <20220405070438.116405741@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070407.513532867@linuxfoundation.org> References: <20220405070407.513532867@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jonathan Neuschäfer commit 9d0f18bca3b557ae5d2128661ac06d33b3f45c0a upstream. When compile-testing on 64-bit architectures, GCC complains about the mismatch of types between the %d format specifier and value returned by ARRAY_LENGTH(). Use %zu, which is correct everywhere. Reported-by: kernel test robot Fixes: 3b588e43ee5c7 ("pinctrl: nuvoton: add NPCM7xx pinctrl and GPIO driver") Signed-off-by: Jonathan Neuschäfer Reviewed-by: Andy Shevchenko Link: https://lore.kernel.org/r/20220205155332.1308899-2-j.neuschaefer@gmx.net Signed-off-by: Linus Walleij Signed-off-by: Greg Kroah-Hartman --- drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c +++ b/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c @@ -1560,7 +1560,7 @@ static int npcm7xx_get_groups_count(stru { struct npcm7xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); - dev_dbg(npcm->dev, "group size: %d\n", ARRAY_SIZE(npcm7xx_groups)); + dev_dbg(npcm->dev, "group size: %zu\n", ARRAY_SIZE(npcm7xx_groups)); return ARRAY_SIZE(npcm7xx_groups); }