From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) (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 832FE7A for ; Thu, 16 Jun 2022 09:49:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655372997; x=1686908997; h=date:from:to:cc:subject:message-id:mime-version; bh=vynjyFkad2bcT82VPPp8Vl892XMy5vOsQ53BvyViy0g=; b=GcW1pWVlyzI6TWBB92dT5yYxPiULKK41oH0Cwc+5DdABG1VsdGC8H9si Jqoppvjy5EUFuOnKiWWUbq24v0+hfCfxxJNwQN4vRpK9o6kDi5hYkMlVP mZXp83RdLrO6zQ0cTRaiHrZMDiunv9aMJ/LwkDf/6bzJcV7Kl7J13IcDY GqWkWQJQEFq7TUiaPL+WdxEAHefTZouLWZx/t9ClxeBj1xeKB9j8mxSia DZayJYZ5mcGRGLd7SO2eZBnNDXj9sb7tDVvKZzYtPXMTHioLCwysq4gOj 9TSs/0/89YIWSBU8ltxHMUGzFQm8u8pj5Q7rj9GAUHFEIcaW/bo5jZbIy g==; X-IronPort-AV: E=McAfee;i="6400,9594,10379"; a="259674968" X-IronPort-AV: E=Sophos;i="5.91,304,1647327600"; d="scan'208";a="259674968" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2022 02:49:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,304,1647327600"; d="scan'208";a="674953064" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by FMSMGA003.fm.intel.com with ESMTP; 16 Jun 2022 02:49:55 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1o1m8Q-000OG3-H4; Thu, 16 Jun 2022 09:49:54 +0000 Date: Thu, 16 Jun 2022 17:49:17 +0800 From: kernel test robot To: Andy Yan Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Heiko Stuebner , Sascha Hauer Subject: drivers/gpu/drm/rockchip/rockchip_vop2_reg.c:248:34: warning: unused variable 'vop2_dt_match' Message-ID: <202206161754.ctnWSH3Q-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 tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 30306f6194cadcc29c77f6ddcd416a75bf5c0232 commit: 604be85547ce4d61b89292d2f9a78c721b778c16 drm/rockchip: Add VOP2 driver date: 6 weeks ago config: arm-randconfig-r002-20220616 (https://download.01.org/0day-ci/archive/20220616/202206161754.ctnWSH3Q-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project f0e608de27b3d568000046eebf3712ab542979d6) 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=604be85547ce4d61b89292d2f9a78c721b778c16 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 604be85547ce4d61b89292d2f9a78c721b778c16 # 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 SHELL=/bin/bash drivers/gpu/drm/rockchip/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/gpu/drm/rockchip/rockchip_vop2_reg.c:248:34: warning: unused variable 'vop2_dt_match' [-Wunused-const-variable] static const struct of_device_id vop2_dt_match[] = { ^ 1 warning generated. vim +/vop2_dt_match +248 drivers/gpu/drm/rockchip/rockchip_vop2_reg.c 247 > 248 static const struct of_device_id vop2_dt_match[] = { 249 { 250 .compatible = "rockchip,rk3566-vop", 251 .data = &rk3566_vop, 252 }, { 253 .compatible = "rockchip,rk3568-vop", 254 .data = &rk3568_vop, 255 }, { 256 }, 257 }; 258 MODULE_DEVICE_TABLE(of, vop2_dt_match); 259 -- 0-DAY CI Kernel Test Service https://01.org/lkp