From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 176DF2CA1 for ; Wed, 12 Jan 2022 15:19:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642000798; x=1673536798; h=date:from:to:cc:subject:message-id:mime-version; bh=tHjhM74/f4MOyvljpMkBfx8vxtPBFWC3/e/mHycmkzg=; b=g/BlLxXQLE9U1edyhmIoe94cv7ouegg3Ifth7SDhXhIQy7JZn4VVcy63 f6NtiXqqTae4z0+mGfalpaXsow3SyFZdkYpwF+0fjsGXiMUELAkYVKV4/ dCwjAudLB0/OuxmDbBFPJQnSabokhNHp5D6wkuODyL/+P8pAYEEK0aQKa ge8QvvF9ILsUp6nwkpt6q+n4JHRXmEN1kNsp493nOpEb8dhY+mEiZPef9 F9WuLsBD+A1RpURYGTdPzvd6/LdaiJ6qYViY1mQnF2s9eC3wR+PABfKM2 3uE675xYV3fgTxOjvNQkutU4nR4FhTD9SENUT1OY07cX1zY0vXIETrvQB Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10224"; a="330102233" X-IronPort-AV: E=Sophos;i="5.88,282,1635231600"; d="scan'208";a="330102233" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2022 07:19:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,282,1635231600"; d="scan'208";a="558736760" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 12 Jan 2022 07:19:55 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1n7fPm-00060Q-T0; Wed, 12 Jan 2022 15:19:54 +0000 Date: Wed, 12 Jan 2022 23:18:58 +0800 From: kernel test robot To: Watson Chow Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Mark Brown , Laurent Pinchart Subject: drivers/regulator/max20086-regulator.c:288:34: warning: unused variable 'max20086_dt_ids' Message-ID: <202201122312.qsMgLJU3-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: daadb3bd0e8d3e317e36bc2c1542e86c528665e5 commit: bfff546aae50ae68ed395bf0e0848188d27b0ba3 regulator: Add MAX20086-MAX20089 driver date: 5 days ago config: mips-buildonly-randconfig-r004-20220112 (https://download.01.org/0day-ci/archive/20220112/202201122312.qsMgLJU3-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 244dd2913a43a200f5a6544d424cdc37b771028b) 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 mips cross compiling tool for clang build # apt-get install binutils-mips-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bfff546aae50ae68ed395bf0e0848188d27b0ba3 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout bfff546aae50ae68ed395bf0e0848188d27b0ba3 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash drivers/regulator/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/regulator/max20086-regulator.c:288:34: warning: unused variable 'max20086_dt_ids' [-Wunused-const-variable] static const struct of_device_id max20086_dt_ids[] = { ^ 1 warning generated. vim +/max20086_dt_ids +288 drivers/regulator/max20086-regulator.c 287 > 288 static const struct of_device_id max20086_dt_ids[] = { 289 { 290 .compatible = "maxim,max20086", 291 .data = &(const struct max20086_chip_info) { 292 .id = MAX20086_DEVICE_ID_MAX20086, 293 .num_outputs = 4, 294 } 295 }, { 296 .compatible = "maxim,max20087", 297 .data = &(const struct max20086_chip_info) { 298 .id = MAX20086_DEVICE_ID_MAX20087, 299 .num_outputs = 4, 300 } 301 }, { 302 .compatible = "maxim,max20088", 303 .data = &(const struct max20086_chip_info) { 304 .id = MAX20086_DEVICE_ID_MAX20088, 305 .num_outputs = 2, 306 } 307 }, { 308 .compatible = "maxim,max20089", 309 .data = &(const struct max20086_chip_info) { 310 .id = MAX20086_DEVICE_ID_MAX20089, 311 .num_outputs = 2, 312 } 313 }, 314 { /* Sentinel */ }, 315 }; 316 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============5532586734344573242==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: drivers/regulator/max20086-regulator.c:288:34: warning: unused variable 'max20086_dt_ids' Date: Wed, 12 Jan 2022 23:18:58 +0800 Message-ID: <202201122312.qsMgLJU3-lkp@intel.com> List-Id: --===============5532586734344573242== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git = master head: daadb3bd0e8d3e317e36bc2c1542e86c528665e5 commit: bfff546aae50ae68ed395bf0e0848188d27b0ba3 regulator: Add MAX20086-MA= X20089 driver date: 5 days ago config: mips-buildonly-randconfig-r004-20220112 (https://download.01.org/0d= ay-ci/archive/20220112/202201122312.qsMgLJU3-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 244dd2= 913a43a200f5a6544d424cdc37b771028b) reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install mips cross compiling tool for clang build # apt-get install binutils-mips-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.gi= t/commit/?id=3Dbfff546aae50ae68ed395bf0e0848188d27b0ba3 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/gi= t/torvalds/linux.git git fetch --no-tags linus master git checkout bfff546aae50ae68ed395bf0e0848188d27b0ba3 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Dmips SHELL=3D/bin/bash drivers/regulator/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/regulator/max20086-regulator.c:288:34: warning: unused variable = 'max20086_dt_ids' [-Wunused-const-variable] static const struct of_device_id max20086_dt_ids[] =3D { ^ 1 warning generated. vim +/max20086_dt_ids +288 drivers/regulator/max20086-regulator.c 287 = > 288 static const struct of_device_id max20086_dt_ids[] =3D { 289 { 290 .compatible =3D "maxim,max20086", 291 .data =3D &(const struct max20086_chip_info) { 292 .id =3D MAX20086_DEVICE_ID_MAX20086, 293 .num_outputs =3D 4, 294 } 295 }, { 296 .compatible =3D "maxim,max20087", 297 .data =3D &(const struct max20086_chip_info) { 298 .id =3D MAX20086_DEVICE_ID_MAX20087, 299 .num_outputs =3D 4, 300 } 301 }, { 302 .compatible =3D "maxim,max20088", 303 .data =3D &(const struct max20086_chip_info) { 304 .id =3D MAX20086_DEVICE_ID_MAX20088, 305 .num_outputs =3D 2, 306 } 307 }, { 308 .compatible =3D "maxim,max20089", 309 .data =3D &(const struct max20086_chip_info) { 310 .id =3D MAX20086_DEVICE_ID_MAX20089, 311 .num_outputs =3D 2, 312 } 313 }, 314 { /* Sentinel */ }, 315 }; 316 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============5532586734344573242==--