From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (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 1ED186AB5; Sat, 22 Apr 2023 19:13:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682190834; x=1713726834; h=date:from:to:cc:subject:message-id:mime-version: content-transfer-encoding; bh=NMbAIgoL1EbZiIobpYsvn1zflbdPN5yfsrJDkxCjPlc=; b=et5ljHVhsGc/HTJquCgwI5xHZrBXISXkdbS5OOqciA4fWVoZEfYvVJYT CW7Ru0XnV81XqDMvmLeAy8RLgyR3JwGGKu84s60ZIDBumCl5voIHUy7R9 fZqQolJhgMX0nGUXwk15ebgjbTNXN9QFw81vFV7OCFjhiB93gjdvwd3F7 i16eoAS+m1EV83eUADOjq7q7msIiPP7ecmIGKFI4m4hsdXbaOq6L0p2PC PIoCPkqJ0PMUTT2QUHAL2mnrrxG5qsk5lYDzX6R/bBzGkrILTFs3Zt2nM sb0Z4JzrBYuHZAibEW59zOX2t5n0YdFxjCxjiNNzjNdTTCmkzddyl+TiY w==; X-IronPort-AV: E=McAfee;i="6600,9927,10688"; a="346209987" X-IronPort-AV: E=Sophos;i="5.99,218,1677571200"; d="scan'208";a="346209987" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2023 12:13:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10688"; a="761926731" X-IronPort-AV: E=Sophos;i="5.99,218,1677571200"; d="scan'208";a="761926731" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 22 Apr 2023 12:13:51 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pqIgA-000hSC-37; Sat, 22 Apr 2023 19:13:50 +0000 Date: Sun, 23 Apr 2023 03:13:20 +0800 From: kernel test robot To: Mauro Carvalho Chehab Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: drivers/media/platform/mediatek/mdp/mtk_mdp_core.c:31:34: warning: unused variable 'mtk_mdp_comp_dt_ids' Message-ID: <202304230332.itoWhpOB-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 Hi Mauro, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2caeeb9d4a1bccd923b7918427f9e9ef7151ddd8 commit: 2023a99811110aebba9eee4aa09ef7bd21a8a249 media: platform: rename mediatek/mtk-jpeg/ to mediatek/jpeg/ date: 1 year, 1 month ago config: hexagon-randconfig-r016-20230423 (https://download.01.org/0day-ci/archive/20230423/202304230332.itoWhpOB-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 437b7602e4a998220871de78afcb020b9c14a661) 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 # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2023a99811110aebba9eee4aa09ef7bd21a8a249 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 2023a99811110aebba9eee4aa09ef7bd21a8a249 # 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=hexagon olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/media/platform/mediatek/jpeg/ drivers/media/platform/mediatek/mdp/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304230332.itoWhpOB-lkp@intel.com/ 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 c8eb2d7e8202fd drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 30 c8eb2d7e8202fd 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[] = { c8eb2d7e8202fd drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 32 { c8eb2d7e8202fd drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 33 .compatible = "mediatek,mt8173-mdp-rdma", c8eb2d7e8202fd drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 34 .data = (void *)MTK_MDP_RDMA c8eb2d7e8202fd drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 35 }, { c8eb2d7e8202fd drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 36 .compatible = "mediatek,mt8173-mdp-rsz", c8eb2d7e8202fd drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 37 .data = (void *)MTK_MDP_RSZ c8eb2d7e8202fd drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 38 }, { c8eb2d7e8202fd drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 39 .compatible = "mediatek,mt8173-mdp-wdma", c8eb2d7e8202fd drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 40 .data = (void *)MTK_MDP_WDMA c8eb2d7e8202fd drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 41 }, { c8eb2d7e8202fd drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 42 .compatible = "mediatek,mt8173-mdp-wrot", c8eb2d7e8202fd drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 43 .data = (void *)MTK_MDP_WROT 55d80506c5f7c3 drivers/media/platform/mtk-mdp/mtk_mdp_core.c Vincent Stehlé 2016-10-27 44 }, 55d80506c5f7c3 drivers/media/platform/mtk-mdp/mtk_mdp_core.c Vincent Stehlé 2016-10-27 45 { }, c8eb2d7e8202fd drivers/media/platform/mtk-mdp/mtk_mdp_core.c Minghsiu Tsai 2016-09-08 46 }; c8eb2d7e8202fd 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://github.com/intel/lkp-tests