Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3515811pxb; Mon, 4 Apr 2022 19:32:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwhSD5xvQ7WFa2mN5e7bRld61DMWBiuXyrJU9ObyHihmRP/s+IbfrEtoHiqy4PoSBGsu+a X-Received: by 2002:a17:902:8217:b0:156:9c4f:90eb with SMTP id x23-20020a170902821700b001569c4f90ebmr1223016pln.121.1649125934970; Mon, 04 Apr 2022 19:32:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649125934; cv=none; d=google.com; s=arc-20160816; b=bWj5kYRIbuBmB4gdhLAqlS4Zl3CBpEwOuuRDZb0dS/BXvD2lp2rjY9GE/DwZiUA1NC QivBlA4jMplQXfvBC1vTnRZ09MPqvhrrUwvAwRq00kCA+btzJ9iH/fIDNz1ay8ydnspg Hn0Y7cb/8eb0rmNNpgUpl84T9nldRMPd1ykDrhAFMiXQGp8ZlsMtQbPxcGd3fOtvwc+e b1IRvyEoKsuDfjiqXaE57Oi+Vh/fPBhRK8m4aoH5dR//t9jZUk6aeLPcA7zKEp5Jy+Yj UQ7vqZfpyqtKAbJv3uo08acY0xW+g7zfDr74IE7Mkzjt29GGzy0mGcLpdYg1eXyiA6cN O2VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=DUL8S2OoMyRqG/7s7R2uoNem727ljU5XkfbK9p9cv8E=; b=gxo96ecQC+wKeXfCVy35r3Tc8DnorbD7b1Wx29c+QC5cuBScQTlMH5DXMS8GTSUWcw GWJHO5kIQXptqk8m/GnFGGucgBNEZqL6B8waLpTnAmYoWTNWj5R4/xV0o2wfcq1MiFdW 2+FLADhOC31OlGur68c8NOo0OFrWyI1R6E7Uk8vpELAx9FoL5vtwF6eiHUqIvsKE0amn WcnZg6a1eD6xtbBxrEXXrhA7ceb00V58ER89vcVld5erZbZYxzz3S5Xd0OrkOHrBYFND wlMD0h8M6evT5CSwlkBDrDTU5LQAbFiPExlim5ozfLys/331Il+n+PGvBsRekYHfHblK ZPpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=jfIyJSwm; 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 Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id m65-20020a632644000000b003816043ef69si11734502pgm.350.2022.04.04.19.32.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 19:32:14 -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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=jfIyJSwm; 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6EE28FABD1; Mon, 4 Apr 2022 17:55:48 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347291AbiDDMni (ORCPT + 99 others); Mon, 4 Apr 2022 08:43:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347260AbiDDMng (ORCPT ); Mon, 4 Apr 2022 08:43:36 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE9633B562 for ; Mon, 4 Apr 2022 05:41:39 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id j12so6702072wrb.5 for ; Mon, 04 Apr 2022 05:41:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:organization:in-reply-to :content-transfer-encoding; bh=DUL8S2OoMyRqG/7s7R2uoNem727ljU5XkfbK9p9cv8E=; b=jfIyJSwm7twCD2gonoFI5cvJ1q989UYupliKqNo5taQD3EC5fk8JIG6tFGn9rPvnIh rFW8S0rhW86K58S2y5RliT4UjSAttaoPQuiC+syqjzC0+96Nef5Oypi2MQqj3bojMRYq BQluEagVa7jVK0SSg54Oj/TdeWKLapd2l7Q12iUI0mBDrXv0lBfFUAo7B+MU84Zht4xb iQH1h23lkNATwU6CGnvxPBtSAS+7bJiGqck493YCSpJg15u0ElPPCQvqGn9bvejMrqcL fCTooY9hQRwfyjjq+hzJAB6Wn24VbZIdM3WAJlIEn4XzZJYo66bpFGHSE6gwUlpuXIRp ewXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:organization:in-reply-to :content-transfer-encoding; bh=DUL8S2OoMyRqG/7s7R2uoNem727ljU5XkfbK9p9cv8E=; b=Xp3DL7Rb0ozlQnm6m7pQxrtAmi6ppYqP3xF9rrJGdq1m3CjzFhSLwEKbjEplmBhE5c MprQFI5Wywsu0My7QrSHDDry9YyrtPMh6kqG+3RK2P9ya+7II4lyMw5QhCmgzqqRj7z7 NYpYFo6wX4lQInIhnTEVn2enzQKF+MMKfoICb33rlVUvfn/fissz3dq9HQJZ5rzjjiDM O7gwFhl9eK+mTyHfkzPxGVOavgPEiI5DP1jqGX31aqzXlodG5MZovtBcWtvlwWzfbbra g4diyeK5XZtNGH8yk31qyTX5dzQEnOlXRqKtnbENP1b2/EVZ4o8F021eV3n9JerCZpT3 eOgQ== X-Gm-Message-State: AOAM532CxOaK8A5T31mHhslDzQa0XmrSv6gXbQptlglfRX1LQ8LChrT1 Wwj5AaoCtIpQ33NIONvVBHXPNw== X-Received: by 2002:adf:d081:0:b0:203:e209:7def with SMTP id y1-20020adfd081000000b00203e2097defmr16839540wrh.388.1649076098346; Mon, 04 Apr 2022 05:41:38 -0700 (PDT) Received: from ?IPV6:2001:861:44c0:66c0:1add:1b28:2457:eb46? ([2001:861:44c0:66c0:1add:1b28:2457:eb46]) by smtp.gmail.com with ESMTPSA id i10-20020a0560001aca00b00203daf3759asm9772755wry.68.2022.04.04.05.41.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 Apr 2022 05:41:37 -0700 (PDT) Message-ID: <05e7917b-adaf-53d9-c3af-7d65b5f39ac7@baylibre.com> Date: Mon, 4 Apr 2022 14:41:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v2] pinctrl: meson: fix unused variable warning Content-Language: en-US To: Qianggui Song , Linus Walleij , linux-gpio@vger.kernel.org Cc: kernel test robot , Jerome Brunet , Kevin Hilman , Martin Blumenstingl , linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org References: <20220330023720.18238-1-qianggui.song@amlogic.com> From: Neil Armstrong Organization: Baylibre In-Reply-To: <20220330023720.18238-1-qianggui.song@amlogic.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On 30/03/2022 04:37, Qianggui Song wrote: > The kernel test robot reported a warning as below: >>> drivers/pinctrl/meson/pinctrl-meson-s4.c:178:27: warning: unused variable 'tdm_sclk1_c_pins' [-Wunused-const-variable] > static const unsigned int tdm_sclk1_c_pins[] = { GPIOC_3 }; > > Fix it by adding missing description about this pins > > Fixes: 775214d389c2 ("pinctrl: meson: add pinctrl driver support for Meson-S4 Soc") > Reported-by: kernel test robot > Signed-off-by: Qianggui Song > --- > drivers/pinctrl/meson/pinctrl-meson-s4.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/pinctrl/meson/pinctrl-meson-s4.c b/drivers/pinctrl/meson/pinctrl-meson-s4.c > index 3c7358f53302..cea77864b880 100644 > --- a/drivers/pinctrl/meson/pinctrl-meson-s4.c > +++ b/drivers/pinctrl/meson/pinctrl-meson-s4.c > @@ -575,6 +575,7 @@ static struct meson_pmx_group meson_s4_periphs_groups[] = { > GROUP(tdm_d2_c, 4), > GROUP(tdm_d3_c, 4), > GROUP(tdm_fs1_c, 4), > + GROUP(tdm_sclk1_c, 4), > GROUP(mclk_1_c, 4), > GROUP(tdm_d4_c, 4), > GROUP(tdm_d5_c, 4), > @@ -936,7 +937,7 @@ static const char * const iso7816_groups[] = { > }; > > static const char * const tdm_groups[] = { > - "tdm_d2_c", "tdm_d3_c", "tdm_fs1_c", "tdm_d4_c", "tdm_d5_c", > + "tdm_d2_c", "tdm_d3_c", "tdm_fs1_c", "tdm_d4_c", "tdm_d5_c", "tdm_sclk1_c", > "tdm_fs1_d", "tdm_d4_d", "tdm_d3_d", "tdm_d2_d", "tdm_sclk1_d", > "tdm_sclk1_h", "tdm_fs1_h", "tdm_d2_h", "tdm_d3_h", "tdm_d4_h", > "tdm_d1", "tdm_d0", "tdm_fs0", "tdm_sclk0", "tdm_fs2", "tdm_sclk2", Reviewed-by: Neil Armstrong