From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 06142C432BE for ; Thu, 2 Sep 2021 09:01:36 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 59E1261051 for ; Thu, 2 Sep 2021 09:01:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 59E1261051 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=somainline.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id E5B8F8D0002; Thu, 2 Sep 2021 05:01:34 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E0A848D0001; Thu, 2 Sep 2021 05:01:34 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CF9C18D0002; Thu, 2 Sep 2021 05:01:34 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0112.hostedemail.com [216.40.44.112]) by kanga.kvack.org (Postfix) with ESMTP id C2A9A8D0001 for ; Thu, 2 Sep 2021 05:01:34 -0400 (EDT) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 84D0F8249980 for ; Thu, 2 Sep 2021 09:01:34 +0000 (UTC) X-FDA: 78542040108.23.75BD6B1 Received: from relay05.th.seeweb.it (relay05.th.seeweb.it [5.144.164.166]) by imf19.hostedemail.com (Postfix) with ESMTP id E3D72B0000B0 for ; Thu, 2 Sep 2021 09:01:33 +0000 (UTC) Received: from [192.168.1.101] (83.6.166.149.neoplus.adsl.tpnet.pl [83.6.166.149]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id A3E193F35C; Thu, 2 Sep 2021 11:01:31 +0200 (CEST) Subject: Re: [linux-next:master 10841/11508] drivers/clk/qcom/gcc-sm6350.c:179:37: warning: unused variable 'gcc_parent_data_2' To: kernel test robot Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Stephen Boyd References: <202109021640.TXyMlULd-lkp@intel.com> From: Konrad Dybcio Message-ID: <85c61a79-3e83-84c8-1b75-3e4640ac3490@somainline.org> Date: Thu, 2 Sep 2021 11:01:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <202109021640.TXyMlULd-lkp@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: E3D72B0000B0 Authentication-Results: imf19.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf19.hostedemail.com: domain of konrad.dybcio@somainline.org designates 5.144.164.166 as permitted sender) smtp.mailfrom=konrad.dybcio@somainline.org X-Rspamd-Server: rspam01 X-Stat-Signature: 4zw5b9iut3qdncn49orfikynmocnmehq X-HE-Tag: 1630573293-766638 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 02.09.2021 10:57, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 34560ced20599a01660a693f464c7c7dc83db1d9 > commit: 131abae905df99f63d825e47b4df100d34f518ce [10841/11508] clk: qcom: Add SM6350 GCC driver > config: riscv-buildonly-randconfig-r006-20210902 (attached as .config) > compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c9948e9254fbb6ea00f66c7b4542311d21e060be) > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # install riscv cross compiling tool for clang build > # apt-get install binutils-riscv64-linux-gnu > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=131abae905df99f63d825e47b4df100d34f518ce > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout 131abae905df99f63d825e47b4df100d34f518ce > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > >>> drivers/clk/qcom/gcc-sm6350.c:179:37: warning: unused variable 'gcc_parent_data_2' [-Wunused-const-variable] > static const struct clk_parent_data gcc_parent_data_2[] = { > ^ > 1 warning generated. > > > vim +/gcc_parent_data_2 +179 drivers/clk/qcom/gcc-sm6350.c > > 178 > > 179 static const struct clk_parent_data gcc_parent_data_2[] = { > 180 { .fw_name = "bi_tcxo" }, > 181 { .hw = &gpll0_out_odd.clkr.hw }, > 182 }; > 183 static const struct clk_parent_data gcc_parent_data_2_ao[] = { > 184 { .fw_name = "bi_tcxo_ao" }, > 185 { .hw = &gpll0_out_odd.clkr.hw }, > 186 }; > 187 > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Looks like this slipped through.. gcc_parent_data_2[] is in fact not used. Could you remove that array in your tree, Stephen? Konrad