Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp961236pxb; Wed, 6 Apr 2022 05:23:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWQwPxB593rPikQAPJrXFTObREx5vjJgocquXjdTUbJI0PwFRebrZhL6A8k75eNr60FJAG X-Received: by 2002:a63:a555:0:b0:382:3ec:ee4f with SMTP id r21-20020a63a555000000b0038203ecee4fmr6770828pgu.79.1649247837133; Wed, 06 Apr 2022 05:23:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649247837; cv=none; d=google.com; s=arc-20160816; b=gL1pbcaodOWorVxRGluDAQYevS+RrIEQA/TmZYKGxcOj8VamNPh4qarZc/0FLHEZ9W LRCoogQY683fFZ1+z6HBFIqHSptNz9lHPfqRfisC5HkuVaHBV7QC2O1nOwLh5L9Ap6Wu GtuhRSjr/BjOssZXkKmignqm2tVGCm40HDzhBKRkvS2ioE1+SpGQpXsRJ1VnqTQLJ/G9 wWRD/gzpOGYqIi6MmKGrv1ZD0NjQLEhcOP4cwd4jbNIbFJSkJmJkJRWLyQbtK0XWFqRw JTJoLqqU2Mboe2kQC/+By6kD2uGrAkoma3Gxq9b61JGmE94lLlVx2122wBdAYIsMisbo w/tQ== 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=AzN1w2eErbGXQ7zu59sfFedTosuP6sgFfMQgkVZA/OFVeyqKv476Ax5YAr83vHl1mY FQgbpul8CTWzmvsloRHAhlARNb1+NEiA5o0DpVZ6qS0JmTKMIrLZH8eg1x7YS+pDimMS sLgrNxNCiaI5Raha8doTPh8Kl9teS1u31NN8+7hv7GKDxCv04RDS4so5rzn/mrSvIDWy Qt+sjR7Cs8bYyQTOtIU+PAkm7b5N8IrzmtXbZSCjw97tIu8t4X9OcG920n1rHteoUSUj KrwRhaBIxFmJrBu+R2G78UmuLSpgau6n6BJUp+nt0h3HgUnPHxGrm5j0SY1hWyo/bKRf 67+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=I7sBNzCc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s190-20020a6377c7000000b003816043ee15si15805095pgc.10.2022.04.06.05.23.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 05:23:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=I7sBNzCc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 56B17482341; Wed, 6 Apr 2022 04:29:11 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1843339AbiDFBkm (ORCPT + 99 others); Tue, 5 Apr 2022 21:40:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354126AbiDEKLw (ORCPT ); Tue, 5 Apr 2022 06:11:52 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E312D50E2C; Tue, 5 Apr 2022 02:57:26 -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 ams.source.kernel.org (Postfix) with ESMTPS id 91B89B81B93; Tue, 5 Apr 2022 09:57:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA22EC385A2; Tue, 5 Apr 2022 09:57:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649152644; bh=AxMd18gbofm6w4krU29ftLJswZhLQ32cx6ujG2KM8Xk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I7sBNzCcFXuEV+sDxcKE6qVX+0ayi86L1GWG866CIRdIJP8KhWFlCVM+0hjVy6am6 86D0iRGxxs+MvhsiGDAKU51urKR4IKj1erT1DsgGlq0AIpkd0Sf2OWpAknhKJUXcI7 wPwBXh4yA6T5ckoNGZLlnkrJ6cOldPmqpfO6M6+U= 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.15 851/913] pinctrl: nuvoton: npcm7xx: Use %zu printk format for ARRAY_SIZE() Date: Tue, 5 Apr 2022 09:31:53 +0200 Message-Id: <20220405070405.337698523@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070339.801210740@linuxfoundation.org> References: <20220405070339.801210740@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=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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); }