From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 75554184E for ; Wed, 23 Mar 2022 11:37:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648035466; x=1679571466; h=date:from:to:cc:subject:message-id:mime-version: content-transfer-encoding; bh=Xlkm9eWb6xvz+l7GN3+kAdWFAMPDPRRPwGgbpxQtuRE=; b=Zh51nGHcfN4Y/MflBASn0vJJIg7c9YJpXWvfBn2rYeo1YD6dHiUTM2Kn xpawX0amWiYe+sWdyCzMHK//JWnTjJsSONXSLEBEpoJL6grWlRyye1Ip3 70tZ2LL1oBV8PQu3IqPg9Pt5ABrKcITGXamuCnfia7exZvbNeQCqxJo5t pnRP+xyFL/494cYJ4Lc+Xo7W64SGwbv/A1TwL12WoB/FwhBFfn0PabOGp 3pMSk19OfeDVFC1QHGG/RNBAQ+hPRywMM7lbP0idLIx+6cfBxV+0KG2CJ Dk5XIiIaTxkkkRmdcUwxIA/grbV2ZvnwbyL1O5vFeLwoDByKJZpwrDy70 A==; X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="321285410" X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="321285410" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 04:37:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="519328436" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by orsmga006.jf.intel.com with ESMTP; 23 Mar 2022 04:37:27 -0700 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nWzIs-000K10-Pv; Wed, 23 Mar 2022 11:37:26 +0000 Date: Wed, 23 Mar 2022 19:36:40 +0800 From: kernel test robot To: Mauro Carvalho Chehab Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [hverkuil-media-tree:tmp 407/423] drivers/media/platform/mediatek/mdp/mtk_mdp_core.c:31:34: warning: unused variable 'mtk_mdp_comp_dt_ids' Message-ID: <202203231910.QNuo5wZb-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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.10.1 (2018-07-13) tree: git://linuxtv.org/hverkuil/media_tree.git tmp head: f89d74081c909f1c547a611141a23d7670e44bed commit: 2023a99811110aebba9eee4aa09ef7bd21a8a249 [407/423] media: platform: rename mediatek/mtk-jpeg/ to mediatek/jpeg/ config: hexagon-buildonly-randconfig-r005-20220323 (https://download.01.org/0day-ci/archive/20220323/202203231910.QNuo5wZb-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 902f4708fe1d03b0de7e5315ef875006a6adc319) 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 git remote add hverkuil-media-tree git://linuxtv.org/hverkuil/media_tree.git git fetch --no-tags hverkuil-media-tree tmp git checkout 2023a99811110aebba9eee4aa09ef7bd21a8a249 # 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=hexagon SHELL=/bin/bash drivers/media/platform/mediatek/mdp/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/media/platform/mediatek/mdp/mtk_mdp_core.c:31:34: warning: unused variable 'mtk_mdp_comp_dt_ids' [-Wunused-const-variable] static const struct of_device_id mtk_mdp_comp_dt_ids[] = { ^ 1 warning generated. vim +/mtk_mdp_comp_dt_ids +31 drivers/media/platform/mediatek/mdp/mtk_mdp_core.c c8eb2d7e8202fd9 drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 30 c8eb2d7e8202fd9 drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 @31 static const struct of_device_id mtk_mdp_comp_dt_ids[] = { c8eb2d7e8202fd9 drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 32 { c8eb2d7e8202fd9 drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 33 .compatible = "mediatek,mt8173-mdp-rdma", c8eb2d7e8202fd9 drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 34 .data = (void *)MTK_MDP_RDMA c8eb2d7e8202fd9 drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 35 }, { c8eb2d7e8202fd9 drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 36 .compatible = "mediatek,mt8173-mdp-rsz", c8eb2d7e8202fd9 drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 37 .data = (void *)MTK_MDP_RSZ c8eb2d7e8202fd9 drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 38 }, { c8eb2d7e8202fd9 drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 39 .compatible = "mediatek,mt8173-mdp-wdma", c8eb2d7e8202fd9 drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 40 .data = (void *)MTK_MDP_WDMA c8eb2d7e8202fd9 drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 41 }, { c8eb2d7e8202fd9 drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 42 .compatible = "mediatek,mt8173-mdp-wrot", c8eb2d7e8202fd9 drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 43 .data = (void *)MTK_MDP_WROT 55d80506c5f7c3a drivers/media/platform/mtk-mdp/mtk_mdp_core.c Vincent Stehlé 2016-10-27 44 }, 55d80506c5f7c3a drivers/media/platform/mtk-mdp/mtk_mdp_core.c Vincent Stehlé 2016-10-27 45 { }, c8eb2d7e8202fd9 drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 46 }; c8eb2d7e8202fd9 drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 47 :::::: The code at line 31 was first introduced by commit :::::: c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a [media] media: Add Mediatek MDP Driver :::::: TO: Minghsiu Tsai :::::: CC: Mauro Carvalho Chehab -- 0-DAY CI Kernel Test Service https://01.org/lkp