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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8072EC05027 for ; Mon, 23 Jan 2023 12:22:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230129AbjAWMWL (ORCPT ); Mon, 23 Jan 2023 07:22:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229579AbjAWMWK (ORCPT ); Mon, 23 Jan 2023 07:22:10 -0500 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34DB95599 for ; Mon, 23 Jan 2023 04:22:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674476529; x=1706012529; h=date:from:to:cc:subject:message-id:mime-version; bh=oLWT0oA22lJbZsciU17gqm210t0yQgW2iq4RMVP7j08=; b=S1w+Qe8XNvVb5bH9kiLA+hfVNVMkzfW5yja5Zz2wK5sFcsjF+p5TbJLz y3x5bsjdX79wzoxqmvYf99ASwrHr4WiSybLL8FkoCkObskdRlN+ze3RNV Hz9u3n2p2TPnYC3ERbWYjAUAeYLTpKjb8qB4ZQg1kicz10RQW+V+G3cYq hoKNhzmiIr1XxK8tq7aWl4StjwTcbfBbQJdhaXTTlsqz9OCph/Ng0QIHP w12H58EXXxogdU28AgCjwBtm1r9rQxQq0zSPIoxGe5CV7S2724g1gW9Ns 6MJDgp7ubR0NcvZBfXL3pSguqCSnEJ6mlnl/yv0rJ7PS+R4BOpwF/jSgB Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10598"; a="323718731" X-IronPort-AV: E=Sophos;i="5.97,239,1669104000"; d="scan'208";a="323718731" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jan 2023 04:22:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10598"; a="692117335" X-IronPort-AV: E=Sophos;i="5.97,239,1669104000"; d="scan'208";a="692117335" Received: from lkp-server01.sh.intel.com (HELO 5646d64e7320) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 23 Jan 2023 04:22:06 -0800 Received: from kbuild by 5646d64e7320 with local (Exim 4.96) (envelope-from ) id 1pJvpt-0005dE-3B; Mon, 23 Jan 2023 12:22:05 +0000 Date: Mon, 23 Jan 2023 20:21:13 +0800 From: kernel test robot To: Dmitry Baryshkov Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Stephen Boyd Subject: drivers/clk/clk-asm9260.c:258:17: warning: variable 'hw' set but not used Message-ID: <202301232014.R6MwCVoq-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Dmitry, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2475bf0250dee99b477e0c56d7dc9d7ac3f04117 commit: f5290d8e4f0caa81a491448a27dd70e726095d07 clk: asm9260: use parent index to link the reference clock date: 4 months ago config: arm-randconfig-r046-20230122 (https://download.01.org/0day-ci/archive/20230123/202301232014.R6MwCVoq-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 4196ca3278f78c6e19246e54ab0ecb364e37d66a) 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 arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f5290d8e4f0caa81a491448a27dd70e726095d07 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout f5290d8e4f0caa81a491448a27dd70e726095d07 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/clk/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/clk/clk-asm9260.c:258:17: warning: variable 'hw' set but not used [-Wunused-but-set-variable] struct clk_hw *hw, *pll_hw; ^ 1 warning generated. vim +/hw +258 drivers/clk/clk-asm9260.c 255 256 static void __init asm9260_acc_init(struct device_node *np) 257 { > 258 struct clk_hw *hw, *pll_hw; -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests